hsortplot | R Documentation |
Plot consumers' hierarchical sorting
hsortplot(don, group, numr = 2, numc = 2)
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) |
The data used here refer to a specific experiment, where children were asked to provide hierarchical sorting (several nested partitions) from 16 cards.
Returns as many graphs as there are consumers, each graph represents hierarchical sorting provided by a consumer
Marine Cadoret, Sebastien Le sebastien.le@institut-agro.fr
fahst
## 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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.