cody: correlation covariance matrix of binary data AND continous...

View source: R/cody.R

codyR Documentation

correlation covariance matrix of binary data AND continous data

Description

calculation of variance covariance matrix for continous data, covariance for continous and binary data, and covarniance of binary data

Usage

cody(my_data, Item = NULL, continuous = NULL, output_matrix = NULL, Item_SD = NULL)

Arguments

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

Details

dataframe provided has to start with binary items followed by continous variables. No other variables are allowed

Examples

##---- 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) 
{
  }

hvongbg/bindabox documentation built on Feb. 1, 2025, 5:30 p.m.