make_rsIndicatorDmxFrom_srDtb: make_rsIndicatorDmxFrom_srDtb

Description Usage Arguments Value Examples

View source: R/factorialResponseLogisticExpandedDesign.R

Description

make_rsIndicatorDmxFrom_srDtb

Usage

1
2
3
make_rsIndicatorDmxFrom_srDtb(form = NULL, srDtb = NULL,
  stimVarColNames = NULL, respFacDescr = NULL,
  includeMasterCatInDesired = TRUE)

Arguments

form

a formula or formula string with response factors and interactions of response factors with stimulus parameters e.g. ~ C*V+ C:F1+ V:F2

srDtb

a stimulus(-response0 data table (Note: trial-by-trial responses are required only for model fitting and for compling respDtbs from full srDtb's . stimulus only tables can be used in e.g. test data generation)

stimVarColNames

names of stimulus factors

respFacDescr

either a list of response factor names (first of which must be the "master category") or a respFacDtb (of which all response col names will be used )

includeMasterCatInDesired

(defalt TRUE) include the master response category in the rsDmx response factors

Value

a rsDmx: a response-stimulus data matrix with attributes 'masterCatLevels'

Examples

1
cat('no examples \n')

tnearey/bhmnl documentation built on Nov. 5, 2019, 10:55 a.m.