num {riskyr} | R Documentation |
List current values of basic numeric variables.
Description
num
is a list of named numeric variables containing
4 basic probabilities (prev
, sens
,
spec
, and fart
)
and 1 frequency parameter (the population size N
).
Usage
num
Format
An object of class list
of length 5.
See Also
init_num
initializes basic numeric parameters;
txt
contains current text information;
init_txt
initializes text information;
pal
contains current color information;
init_pal
initializes color information;
freq
contains current frequency information;
comp_freq
computes current frequency information;
prob
contains current probability information;
comp_prob
computes current probability information.
Other lists containing current scenario information:
accu
,
freq
,
pal_bwp
,
pal_bw
,
pal_kn
,
pal_mbw
,
pal_mod
,
pal_org
,
pal_rgb
,
pal_unikn
,
pal_vir
,
pal
,
prob
,
txt_TF
,
txt_org
,
txt
Examples
num <- init_num() # => initialize num to default parameters
num # => show defaults
length(num) # => 5