prmap: Attribute based brand maps

View source: R/prmap.R

prmapR Documentation

Attribute based brand maps

Description

Attribute based brand maps

Usage

prmap(
  dataset,
  brand,
  attr,
  pref = "",
  nr_dim = 2,
  hcor = FALSE,
  data_filter = "",
  envir = parent.frame()
)

Arguments

dataset

Dataset

brand

A character variable with brand names

attr

Names of numeric variables

pref

Names of numeric brand preference measures

nr_dim

Number of dimensions

hcor

Use polycor::hetcor to calculate the correlation matrix

data_filter

Expression entered in, e.g., Data > View to filter the dataset in Radiant. The expression should be a string (e.g., "price > 10000")

envir

Environment to extract data from

Details

See https://radiant-rstats.github.io/docs/multivariate/prmap.html for an example in Radiant

Value

A list of all variables defined in the function as an object of class prmap

See Also

summary.prmap to summarize results

plot.prmap to plot results

Examples

prmap(computer, brand = "brand", attr = "high_end:business") %>% str()


radiant-rstats/radiant.multivariate documentation built on Nov. 29, 2023, 9:52 p.m.