Description Usage Arguments Details Value
View source: R/factorialResponseLogisticExpandedDesign.R
Make a response factor data table from an srDtb data.table
1 2 | make_respFacDtb(srDtb, masterCatColName, desiredFactorColNames,
includeMasterCatInDesired = TRUE)
|
srDtb |
– a stimulus-response data.table (one trial per row) or a data table compatible with respFacDtb except for masterCatLevels attributes |
masterCatColName |
– column name for master category |
desiredFactorColNames |
– column names to be used in formula |
includeMasterCatInDesired |
– boolean (default TRUE) whether to include masterCatColName among desiredFactorColNames |
Collect response factors from an srDtb and collect into a compact respFacDtb Note if you want to exclude masterCatColName from output of columns, you must set includeMasterCatInDesired=FALSE
- returns a respFacDtb data.table with masterCatLevel attribute (and class == data.frame;data.table; respFacDtb). Note only has nlevels(masterCat) rows and columns are masterCat and any other factors that decompose mastercat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.