View source: R/sampleParsSimpar.R
sampleParsSimpar | R Documentation |
Sample model parameters using the 'simpar' package
sampleParsSimpar(file.mod, nsim, format = "ext", seed.R, as.fun)
file.mod |
Path to model control stream. Will be used for both 'NMreadExt()' and 'NMreadCov()', and extension will automatically be replaced by '.ext' and '.cov'. |
nsim |
Number of sets of parameter values to generate. Passed to 'simpar'. |
format |
"ext" (default) or "wide". |
seed.R |
seed value passed to set.seed(). |
as.fun |
The default is to return data as a data.frame. Pass a function (say 'tibble::as_tibble') in as.fun to convert to something else. If data.tables are wanted, use as.fun="data.table". The default can be configured using NMdataConf. |
A table with sampled model parameters
Sanaya Shroff, Philip Delff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.