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



An object of class numeric of length 1.


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.


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


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