simulate.split {FeatureHashing} | R Documentation |
split
work in hashed.model.matrix
to split the string into
tokensSimulate how split
work in hashed.model.matrix
to split the string into
tokens
simulate.split(x, delim = ",", type = c("existence", "count"))
x |
character vector or factor. The source of concatenated feature. |
delim |
character value. The string to use for splitting. |
type |
character value. Either " |
integer vector for type = "count"
and logical vector for type = "existence"
.