Generates an n probability
values in accordance with a specified
proportional ratios.
Usage
p_prob(n, p_ratio = 20)
Value
Returns a dataframe with
a probability field.
Arguments
n
a number of data points.
p_ratio
the smaller of the
terms of specified proportional ratios. For instance, for a
30:70 ratio, p_ratio is equal to 30.
Default value is set as
20. Valid p_ratio values
are: (5, 10, 20, 30, 40).
Details
Proportional ratios are used to divide the
area under curve (auc) of an exponential function
such that for any given percentage ratios a:b, the
auc is divided into b:a.