identify.distribution {simitation} | R Documentation |
This internal function identifies the type of distribution based on a given formula and simulates data accordingly. It is not intended for direct usage by end-users.
## S3 method for class 'distribution'
identify(
dat = NULL,
the.step,
n,
num.experiments,
step.split = "~",
value.split = ","
)
dat |
Optional data table for generating data. |
the.step |
A character string specifying the formula for simulation. |
n |
An integer specifying the number of data points to generate. |
num.experiments |
An integer specifying the number of experiments to simulate. |
step.split |
A character indicating the delimiter for splitting the step formula. |
value.split |
A character used to split values in certain distributions. |
A data table with simulated values based on the identified distribution.