| cond_true {riskyr} | R Documentation |
Number of individuals for which the condition is true.
Description
cond_true is a frequency that describes the
number of individuals in the current population N
for which the condition is TRUE (i.e., actually true cases).
Usage
cond_true
Format
An object of class numeric of length 1.
Details
Key relationships:
to probabilities: The frequency of
cond_trueindividuals depends on the population sizeNand the condition's prevalenceprevand is split further into two subsets ofhiby the sensitivitysensandmiby the miss ratemirt.Perspectives:
to other frequencies: In a population of size
Nthe following relationships hold:
Current frequency information is computed by
comp_freq and contained in a list
freq.
References
Consult Wikipedia: Confusion matrix for additional information.
See Also
is_freq verifies frequencies;
num contains basic numeric parameters;
init_num initializes basic numeric parameters;
freq contains current frequency information;
comp_freq computes current frequency information;
prob contains current probability information;
comp_prob computes current probability information.
Other frequencies:
N,
cond_false,
cr,
dec_cor,
dec_err,
dec_neg,
dec_pos,
fa,
hi,
mi
Examples
cond_true <- 1000 * .10 # => sets cond_true to 10% of 1000 = 100 cases.
is_freq(cond_true) # => TRUE
is_prob(cond_true) # => FALSE, as cond_true is no probability (but prev and sens are)