p_prob {stppSim} | R Documentation |
Proportional (probability) distribution
Description
Generates an n
probability
values in accordance with a specified
proportional ratios.
Usage
p_prob(n, p_ratio = 20)
Arguments
n |
a number of data points. |
p_ratio |
the smaller of the
terms of specified proportional ratios. For instance, for a
|
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
.
Value
Returns a dataframe with a probability field.
Examples
p_prob(n = 15, p_ratio = 20)
[Package stppSim version 1.3.4 Index]