Description Usage Arguments Value Author(s)
A function for one-hot encoding categorical respose vectors.
1  | 
Y | 
 [n] a vector of the categorical resposes, with   | 
a list containing the following:
Yh | 
 [n, K] the one-hot encoded Y respose variable.  | 
ylabs | 
 [K] a vector of the y names corresponding to each response column.  | 
Eric Bridgeford
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.