popu: A population table based on current frequencies.
Description
popu is an R data frame that is computed
by comp_popu from the current
frequency information (contained in freq).
Each individual is represented as a row;
columns represent the individual's
condition (TRUE or FALSE),
a corresponding decision
(also encoded as TRUE = positive or FALSE = negative),
and its classification (in SDT terms) as either
true positive (an individual hit hi),
false negative (an individual miss mi),
false positive (an individual false alarm fa), or
true negative (an individual correct rejection cr).
Usage
popu
Arguments
Value
A data frame popu
containing N rows (individual cases)
and 3 columns ("Truth", "Decision", "SDT")
encoded as ordered factors
(with 2, 2, and 4 levels, respectively).
Format
An object of class NULL of length 0.
Details
#' popu is initialized to NULL
and needs to be computed by calling comp_popu
with current parameter settings.
comp_popu uses the current text information
contained in txt to define
the labels of conditions, decisions, and
SDT classifications.
A visualization of the current population
popu is provided by plot_icons.
See Also
The corresponding generating function comp_popu;
num for basic numeric parameters;
freq for current frequency information;
txt for current text settings.
# NOT RUN {popu <- comp_popu() # => initializes popu with current values of freq and txtdim(popu) # => N x 3head(popu) # => shows head of data frame# }