Learn R Programming

SensoMineR (version 1.23)

hsortplot: Plot consumers' hierarchical sorting

Description

Plot consumers' hierarchical sorting

Usage

hsortplot(don, group, numr = 2, numc = 2)

Arguments

don

a data frame with n rows (products) and p columns (nested partitions for all consumers)

group

a list indicating the number of levels (nested partitions) for each consumer

numr

the number of hierarchical sorting per row (by default 2)

numc

the number of hierarchical sorting per column (by default 2)

Value

Returns as many graphs as there are consumers, each graph represents hierarchical sorting provided by a consumer

Details

The data used here refer to a specific experiment, where children were asked to provide hierarchical sorting (several nested partitions) from 16 cards.

See Also

fahst

Examples

Run this code
# NOT RUN {
data(cards)
group.cards<-c(2,3,3,2,2,4,2,3,2,1,3,2,3,3,3,2,3,3,2,3,3,3,3,3,3,3,3,3,3,3)
hsortplot(cards,group.cards)
# }

Run the code above in your browser using DataLab