powered by
This function generates the default global simulation parameters used by the model simulation functions (e.g. c212.BB).
c212.global.sim.params(trial.data, model = "BB", hier = 3)
A file or data frame containing the trial data, either for end of trial or interim analysis.
Allowed values are "BB" and "1a" for point-mass and non-point-mass models respectively.
Generate parameters for a two level or three level hierarchy. Allowed values are 2 and 3 respectively.
A dataframe containing the global simulation parameters.
# NOT RUN { data(c212.trial.data) global.sim.prams <- c212.global.sim.params(c212.trial.data) # } # NOT RUN { data(c212.trial.data) global.sim.prams <- c212.global.sim.params(c212.trial.data) # }
Run the code above in your browser using DataLab