psOpenSorts
object.R/psOpenSorts.R
as_psLogicalOpenSorts.Rd
Only available for logical open sorts.
Should only be used for hand-entered open sorts, administered on paper.
This format has limitations; see note
.
as_psLogicalOpenSorts(logical_open_sorts, ...) # S3 method for matrix as_psLogicalOpenSorts( logical_open_sorts, descriptions_messy = NULL, keep_LETTERS = TRUE, ... ) # S3 method for data.frame as_psLogicalOpenSorts( logical_open_sorts, descriptions_messy = NULL, keep_LETTERS = TRUE, ... )
logical_open_sorts | a character matrix with rows as items, columns as participants and logical category assignments as character strings in cells.
Categories are identified by a subset from For example, if some participant assigned her (self-described) categories |
---|---|
... | further arguments passed to or from other methods. |
descriptions_messy | a character matrix with rows as category indices, columns as participants and category descriptions in cells.
Rows must be named by a subset of Defaults to Notice category description in one row have nothing in common other than their indices:
For example, the category descriptions in a row named When some category has not been defined by the participant, the value in the cell should be |
keep_LETTERS | a logical flag.
Defaults to |
The canonical representation of open sorts in psOpenSorts()
can be cumbersome to enter manually.
For logical (nominally-scaled) open sorts, a simpler, but messier format can be conveniently entered as two separate spreadsheets of descriptions_messy
and logical_open_sorts
using as_psLogicalOpenSorts()
.
matrix
: coerce matrix or data.frame of all logical sorts to psLogicalOpenSorts
data.frame
: coerce messy, but convenient data.frame or matrix with all sorts to psLogicalOpenSorts
When a category is assigned, but never described, it is TRUE
in the respective logical matrix entries and their description is NA
:
This is still considered valuable, if incomplete information.
When a category is described, but never assigned, it is omitted from the data entirely.
When no category was assigned to some item in logical_open_sorts
, an empty character string ""
should be in the respective cell.
An NA
value implies that the given participant never considered the given items at all, across all her categories.
Notice this implies limited scenarios of NA
for data entered in this messy, convenient form.
The more complicated cases, where a participant did consider some, but not all items in the assignment of a category, or -- equivalently -- all categories in their assessment of all items, cannot be recorded in this convenience format.
Such more granular NA
records can, however, be recorded in the canonical data representation, where the respective cell of the items x category logical matrix would be NA
.
If your data gathering procedure produces such granular NA
records, do not use this convenience function.