fac2seg | R Documentation |
Factor to Segments
fac2seg(fac)
fac |
A factor where each level represents a segment |
A list of vectors, each vector contains the indices of the elements of the corresponding segment
fac <- factor(c("a", "b", "a", "b", "c", "c"))
fac2seg(fac)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.