View source: R/editarrayAttr.R
| datamodel | R Documentation | 
Summarize data model of an editarray in a data.frame
datamodel(E)
| E | 
 | 
data.frame describing the categorical variables and their levels.
checkDatamodel
E <- editarray(expression(
    age %in% c('under aged','adult'),
    positionInHouseholda  %in% c('marriage partner', 'child', 'other'),
    maritalStatus %in% c('unmarried','married','widowed','divorced'),
    if (maritalStatus %in% c('married','widowed','divorced') ) positionInHousehold != 'child',
    if ( age == 'under aged') maritalStatus == 'unmarried'
    )
)
datamodel(E)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.