Description Usage Arguments Value Examples
View source: R/generate_data.R
Generate multiple samples from a fitted model with specified best performing model
1 | GenerateDataBest(n, true, parameters, best, models, N, ic = "AIC", ...)
|
n: |
Sample size. |
true: |
A string giving the name of the model to generate data from. |
param: |
A vector of parameters specifying a fitted true model. |
best: |
A string giving the name of the model to be given as best. |
models: |
A string vector of model names for selecting between. |
N: |
Number of bootstrap samples. |
ic: |
String giving which information criterion to use (e.g. 'AICc', 'BIC') |
: A list containing the following:.
1 | GenerateData(25, "norm", c(mu = 0.3, sd = 1.2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.