exploreDesign: explore data design

Description Usage Arguments Value Author(s) Examples

View source: R/exploreDesign.R

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)

eatRest documentation built on May 21, 2017, 3:54 a.m.

Search within the eatRest package
Search all R packages, documentation and source code

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

Please suggest features or report bugs in the GitHub issue tracker.

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