View source: R/mfafunctions96.R
calc_preference: calculate the preference in 2 choice MFA using dataframe returned from comsumption_from_xml()
1 | calc_preference(data_list, equation = "difference")
|
data_list: |
dataframe generated using consumption_from_xml() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.