Description Usage Arguments Value Author(s) Examples
This function calculates teh class proportions of the 'class' column for the data set. Data set must contain a column named class.
1 |
data |
A data frame with a 'class' column, containing class values for each row. Defaults to NULL. |
classProps A vector of class proportions for the data$class column.
Jennifer Starling
1 2 | ##data is a data frame containing a column named 'class'.
p <- classProps(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.