tab2ind | R Documentation |
A helper function for transforming a table into an indicator matrix.
tab2ind(tab, add_names = TRUE)
tab |
A table or (sparse) matrix. |
add_names |
Logical specifying whether to add rownames to the resulting indicator matrix. |
An indicator matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.