Description Usage Arguments Value
View source: R/treeda-functions.R
Create a dummy variable matrix for the response
1 | makeResponseMatrix(response, class.names = NULL)
|
response |
A factor or character vector containing the classes. |
class.names |
A character vector giving the possible levels of the factor. If NULL, it will be generated from the levels of response. |
A dummy variable matrix with column names giving the class names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.