perform_prefmap.Rd
Perform the preference mapping
perform_prefmap(
res_mapping,
data_hedonic,
color_min = "white",
color_max = "#55B4D2",
resolution = 200
)
List. Result of the perform_senso_mapping() function.
Dataframe. Hedonic data.
Character. Color for "do not like".
Character. Color for "like".
Integer. Resolution for the interactive plot.
A plotly preference mapping plot
data("data_sensory_toy")
data("data_products_toy")
data("data_hedonic_toy")
res_mapping <- perform_senso_mapping(
data_sensory = data_sensory_toy,
data_products = data_products_toy
)
perform_prefmap(
res_mapping = res_mapping,
data_hedonic = data_hedonic_toy
)