buildsim.binomial {simitation} | R Documentation |
Internal function for Simulation for Binomial Data
Description
This internal function is designed to generate binomial data based on the provided formula. It is not intended for direct usage by end-users.
Usage
buildsim.binomial(the.formula, the.variable, n, num.experiments = 1)
Arguments
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. |
Value
A data frame with simulated binomial values based on the given formula.
[Package simitation version 0.0.7 Index]