A data.table containing simulated values based on the probability of success for each experiment. The output will have two columns: one indicating the experiment and another containing the simulated values.
Arguments
n
A numeric value for the number of observations in each experiment.
p
A numeric value for the probability of success.
num.experiments
A numeric value representing the number of simulated experiments.
experiment.name
A character value providing the name for the column identifying the experiment.
value.name
A character value providing the name for the simulated values.
seed
A single numeric value, interpreted as an integer, or NULL. See help(set.seed).
vstr
A character string containing a version number, e.g., "1.6.2". The default RNG configuration of the current R version is used if vstr is greater than the current version. See help(set.seed).