Description Usage Arguments Value
Drops columns in the target data.frame (resp) not in the variable name list (items). Adds columns (with NA entries) for entries in the items that are not alrady in resp. This is mainly to simplify using item parameters obtained from one sample (e.g., calibration sample) with a second sample that may not use all of the items.
1 | format_resp(resp, items, version = NULL)
|
resp |
the target data.frame to be re-formatted. |
version |
an optional string used to subset resp via |
item |
string vector of variable names. |
a data.frame that results from padding and deleting resp
as described.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.