two.level.comparison.items {comparison} | R Documentation |
Create a compitem
object.
Description
This function creates a compitem
object from a data.frame
or matrix
of
observations from an item to be deemed a control, or a recovered, item.
Usage
two.level.comparison.items(data, data.columns)
Arguments
data |
a |
data.columns |
vector of integers giving which columns in |
Value
an object of class compitem
Note
This function is deprecated and will eventually be replaced by makeCompItem()
.
Examples
# load Greg Zadora's glass data
data(glass)
# calculate a compitem object representing the control item
control = two.level.comparison.items(glass[1:6,], c(7,8,9))
[Package comparison version 1.0.8 Index]