Description Usage Arguments Value References Examples

Generates a class indicator function from a given factor.

1 | ```
class.ind(cl)
``` |

`cl` |
factor or vector of classes for cases. |

a matrix which is zero except for the column corresponding to the class.

Venables, W. N. and Ripley, B. D. (2002)
*Modern Applied Statistics with S.* Fourth edition. Springer.

1 2 3 4 5 6 7 8 9 10 |

```
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.