cody | R Documentation |
calculation of variance covariance matrix for continous data, covariance for continous and binary data, and covarniance of binary data
cody(my_data, Item = NULL, continuous = NULL, output_matrix = NULL, Item_SD = NULL)
my_data |
my_data is the dataframe entered, first the variables with binary data, then continous variables and no ID numbers. Must be a df or matrix |
Item |
number of binary Items in dataframe |
continuous |
number of continuous variables in dataframe |
output_matrix |
the matrix created with default name output_matrix unless other name is provided |
Item_SD |
object is a list of SD of the propability of answering any two items correct |
dataframe provided has to start with binary items followed by continous variables. No other variables are allowed
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (x)
{
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.