Description Usage Arguments Value Examples
View source: R/mondrian_forest.R
Internal function to separate a dataset into matrices of numeric and factor variables.
1 |
X |
Data (matrix or data frame). |
A list of matrices for numeric and factor variables (if any).
1 2 3 4 | set.seed(1)
convert_to_matrices(data.frame(x1=rnorm(100),
x2=rbeta(100, 1, 2),
f1=sample(letters, 100, replace = TRUE)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.