Description Usage Arguments Value Examples
class.ind
take a factor vector of length $n$ with $k$ levels and
outputs an $n$ x $k$ indicator matrix.
1 | class.ind(cl)
|
cl |
factor vector |
Appropriate indicator matrix.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.