class_means | R Documentation |
A generic function to compute the mean of each class.
class_means(x, i, ...)
x |
An object. |
i |
The index of the class for which the mean is to be computed. |
... |
Additional arguments passed to specific methods. |
A matrix or data frame representing the means of each class, the structure of which depends on the input object's class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.