CreateCategoryMatrix | R Documentation |
Create one hot matrix for a given label
CreateCategoryMatrix(
labels,
method = c("aggregate", "average"),
cells.name = NULL
)
labels |
A vector of labels |
method |
Method to aggregate cells with the same label. Either 'aggregate' or 'average' |
cells.name |
A vector of cell names |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.