buildsim.binomial {simitation} | R Documentation |
This internal function is designed to generate binomial data based on the provided formula. It is not intended for direct usage by end-users.
buildsim.binomial(the.formula, the.variable, n, num.experiments = 1)
the.formula |
A character string specifying the distribution function, e.g., "Bin(10, 0.5)". |
the.variable |
A character string naming the variable in the generated data. |
n |
An integer specifying the number of data points to generate for each experiment. |
num.experiments |
An integer specifying the number of experiments to simulate. Default is 1. |
A data frame with simulated binomial values based on the given formula.