View source: R/create_metamodelBuiltin.R
create_metamodelBuiltin | R Documentation |
modelBuilderUI()
and create resulting metamodelUsed by Pirana to run modelBuilderUI()
, saving the
resulting metamodel e.g., .mmmdl file given model building operations performed in GUI.
create_metamodelBuiltin(metamodelFile, datafile, author = "")
metamodelFile |
File where the metamodel should be created. |
datafile |
File with input data. |
author |
Optional character string to specify the author in the metamodel. |
NLME PML model S4 class instance
if (interactive()) {
tmp_data <- tempfile(fileext = ".csv")
write.csv(Certara.RsNLME::pkData, tmp_data, row.names = FALSE)
create_metamodelBuiltin(
"run1.mmdl",
tmp_data
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.