N: Number of individuals in the population.

NR Documentation

Number of individuals in the population.

Description

N is a frequency that describes the number of individuals in the current population (i.e., the overall number of cases considered).

Usage

N

Format

An object of class numeric of length 1.

Details

Key relationships between frequencies and probabilities (see documentation of comp_freq or comp_prob for details):

  • Three perspectives on a population:

    by condition / by decision / by accuracy.

  • Defining probabilities in terms of frequencies:

    Probabilities can be computed as ratios between frequencies, but beware of rounding issues.

Current frequency information is computed by comp_freq and contained in a list freq.

References

Consult Wikipedia: Statistical population 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: cond_false, cond_true, cr, dec_cor, dec_err, dec_neg, dec_pos, fa, hi, mi

Examples

N <- 1000   # => sets a population size of 1000
is_freq(N)  # => TRUE
is_prob(N)  # => FALSE (as N is no probability)

riskyr documentation built on Aug. 15, 2022, 9:09 a.m.