proto | R Documentation |
Extracts the prototype from each variable group.
proto(X, y, groups, type = c("max", "median"), mu = NULL)
X |
Predictor matrix. |
y |
Response matrix with one column. |
groups |
An group index vector containing the
group number each variable belongs to. For example:
|
type |
The rule for extracting the prototype.
Possible options are |
mu |
The mean value of |
The prototypes (variable index) extracted from each group (cluster).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.