Description Usage Arguments Value Examples
View source: R/do_simulation_type2.R
In this simulation data is simulated from scratch for each iteration, ie no data is shared between simulations. Test level statistics are calculated.
1 | do_simulation_type2(df, output = "results")
|
df |
data frame containing columns named by parameter |
output |
specify what to return: 'results' for a data frame of results (default), ‘data' to simulate data only or ’both' for a list containing both results and data |
data frame
1 2 3 4 5 6 7 | ## Not run:
data(sim_ex1_df)
do_simulation_type2(sim_ex1_df) #just return results
do_simulation_type2(sim_ex1_df, output='data') #just simulate dose response data
do_simulation_type2(sim_ex1_df, output='both') #return results and simulated data
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.