Description Usage Arguments Details Value Note Author(s) See Also Examples
Returns the number of categories used by each participant in a free sorting task.
1 | calc.numcats(edta)
|
edta |
A data frame that includes the following columns:
|
Dataset lawson provides an example of the format expected by
the calc.numcats function. Only the following columns are used, other
columns will be ignored:
SjNo - integer; must be different for each participant.
CategoryNo - integer. Each group that participant produced must
have a unique number. Other than that, the numbers are arbitrary.
A vector of integers. Each number is the number of categories produced by one participant.
The primary purpose of this function is to calculate the numcat
argument of function phi.intra.chance. For this reason, only
numbers of categories are returned, not the associated subject
numbers.
Andy J. Wills (andy@willslab.co.uk)
1 2 3 | data(lawson)
edta <- lawson[lawson$ExptGroup == 2,]
calc.numcats(edta)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.