Description Usage Arguments Details Value Author(s) See Also Examples
This function calculates the percentage of items that have been administered to two groups of persons.
1 | commonItems.percent(dat, group.var, na = NA, xlsx = NULL)
|
dat |
A data frame with item responses and a grouping variable. |
group.var |
Name or column number of the group variable in |
na |
A character string indicating which value should be considered as not administered (missing by design) |
xlsx |
Optional: Full path of Excel file for results. |
dat
must only contain the group variable and the items, if further variables
are in dat
they are treated as items. If group.var
specifies more than two groups,
pairwise group comparisons are performed.
returns a data frame with common item percentage(s)
Martin Hecht
1 2 3 | data(science1)
d <- science1[ , c("version", science1.items)]
commonItems.percent(dat = d, group.var = "version", na = "mbd")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.