This function is designed to generate binary data based on the provided formula. It is an internal function and is not meant for end-users.
buildsim.binary(the.formula, the.variable, n, num.experiments = 1)A data frame with simulated binary values based on the given formula.
A character string specifying the distribution function, e.g., "binary(0.5)".
A character string naming the variable in the generated data.
An integer specifying the number of data points to generate for each experiment.
An integer specifying the number of experiments to simulate. Default is 1.