explore data design

Description

explore data structure with respect to specific missing code (e.g. "missing by design")

Usage

1
exploreDesign ( dat , na = NA , id = NULL , itemsPerPerson = TRUE , personsPerItem = TRUE )

Arguments

dat

data.frame

na

missing specification

id

id variable in dat if exists

itemsPerPerson

logical , if TRUE items per person list is returned

personsPerItem

logical , if TRUE persons per item list is returned

Value

depends on itemsPerPerson and personsPerItem , if both are TRUE a list with both elements is returned

Author(s)

Martin Hecht

Examples

1
2
3
4
data(science1)
d <- science1[,!colnames(science1) %in% science1.context.vars]
design <- exploreDesign ( dat = d , na = "mbd" , id = "id" )
str(design)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.