This internal function is designed to generate data based on a logistic regression model specified by the provided formula. It is not intended for direct usage by end-users.
buildsim.logistic(dat, the.formula, the.variable, n, num.experiments = 1)A data frame with simulated logistic regression values based on the given formula.
A data.frame or data.table containing the variables referenced in the.formula.
A character string specifying the logistic regression function, e.g., "logistic(0.5 * X + 1.2 * Y)".
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.