create_iaclass: create_iaclass

Description Usage Arguments Details Value Examples

View source: R/create_iaclass.r

Description

Most functions of the ia tools package need data to be of class be_iaclass. The create_iaclass function transfers your data to this class.

Usage

1
create_iaclass(dat, variables, key_variables = NULL, min_interviews = 15, type)

Arguments

dat

survey data or time stamp data. dat must be a data.table or data.frame in wide-table-format with observations in rows and variables in collumns. The collum of IDs of observations must be named ID. The collum of interviewers must be named INTERVIEWER.

variables

a character vector of variables you want to be tested in further tests

key_variables

a character vector of variables of high importance e.g. gate_questions

min_intervies

the treshold of minimum of interviews conducted by an interviewer to be analysed

Details

The restriction of dat to a specific mode is recommended! The tests are designed for CATI- telephone interviews

Value

object of class be_iaclass

Examples

1
## Not run: a <- 1

marleneweinauer/iatools documentation built on Jan. 13, 2020, 3:24 p.m.