calc.missing: Number of non-classified items in a free sort

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Returns the number of items not classified by each participant in a free sorting task.

Usage

1

Arguments

edta

A data frame that includes the following columns: SjNo, CategoryNo, described below.

Details

Dataset lawson provides an example of the format expected by the calc.numcats function. Each row is one classificatin decision by one participant. Only the following columns are used, other columns will be ignored:

SjNo - integer; must be different for each participant.

CategoryNo - integer. If the item has not been classified, NA must be recorded. Otherwise, a unique category number must be recorded.

Value

A vector of integers. Each number is the number of items not classified by one participant.

Note

The primary purpose of this function is to calculate the missing argument of function phi.intra.chance. For this reason, only numbers of missing items are returned, not the associated subject numbers.

Author(s)

Andy J. Wills (andy@willslab.co.uk)

See Also

phi.intra.chance

Examples

1
2
3
  data(lawson)
  edta <- lawson[lawson$ExptGroup == 2,]
  calc.numcats(edta)

freesortphi documentation built on May 2, 2019, 5:54 p.m.