powered by
Attribute based brand maps
prmap( dataset, brand, attr, pref = "", nr_dim = 2, hcor = FALSE, data_filter = "", envir = parent.frame() )
A list of all variables defined in the function as an object of class prmap
Dataset
A character variable with brand names
Names of numeric variables
Names of numeric brand preference measures
Number of dimensions
Use polycor::hetcor to calculate the correlation matrix
Expression entered in, e.g., Data > View to filter the dataset in Radiant. The expression should be a string (e.g., "price > 10000")
Environment to extract data from
See https://radiant-rstats.github.io/docs/multivariate/prmap.html for an example in Radiant
summary.prmap to summarize results
summary.prmap
plot.prmap to plot results
plot.prmap
prmap(computer, brand = "brand", attr = "high_end:business") %>% str()
Run the code above in your browser using DataLab