Description Usage Arguments Value
Function to expand variables from a vector of characters
1 | expand_var(masterdata, data, index, column)
|
masterdata |
: masterdata; not much use, just to know the number of subjects |
data |
: the dataframe containing the characters of variables |
index |
: the index column in "data" |
column |
: the column of characters in "data" |
A matrix with columns for different characters, and rows for different subjects, with values of 1 and 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.