code.split: Code items to be split (as having DIF)

View source: R/digram.object.R

code.splitR Documentation

Code items to be split (as having DIF)

Description

Code items to be split (as having DIF)

Usage

code.split(do, split.var, split.on, append = F)

Arguments

do

A digram.object

split.var

String. The variables to split (having DIF). A comma separated list of variable numbers, labels or names.

split.on

String. The exogenous variables to split on (causing DIF). A comma separated list of exogenous variable numbers, labels or names.

append

Logical.

Details

If more variables and exogenous variables are given, all possible combinations of these are split.

Examples

data(DHP)
do<-code.split(DHP,"a,b","under60")

jeppebundsgaard/RDigram documentation built on Oct. 29, 2023, 7:15 p.m.