simpopmlx | R Documentation |
Draw population parameters using the covariance matrix of the estimates
simpopmlx(
n = 1,
project = NULL,
fim = NULL,
parameter = NULL,
corr = NULL,
kw.max = 100,
outputFilename = NULL,
sep = ",",
seed = NULL
)
n |
(integer) the number of vectors of population parameters (default = 1), |
project |
(string) a Monolix project, assuming that the Fisher information Matrix was estimated by Monolix. |
fim |
the (string) Fisher Information Matrix estimated by Monolix. fim = c("sa", "lin") (default="sa") |
parameter |
(data.frame) a data frame with the following columns
Only when project is not used. |
corr |
(matrix) correlation matrix of the population parameters (default = identity). Only when project is not used. |
kw.max |
(integer) maximum number of trials for generating a positive definite covariance matrix (default = 100) |
outputFilename |
(string) when defined, path where the population parameters dataframe will be saved It must be a a file with a csv or txt extension. If no extension is specified, file will be saved by default in csv format |
sep |
(string) file separator when outputFilename is defined (default = ",") |
seed |
(integer) initialization of the random number generator (integer) (by default a random seed will be generated) |
See http://simulx.webpopix.org/mlxr/simpopmlx/ for more details.
dataframe object with generated population parameters
## Not run:
param <- data.frame(pop.param=c(1.5, 0.5, 0.02, 0.4, 0.15, 0.2, 0.7),
sd=c(0.2, 0.05, 0.004, 0.05, 0.02, 0.02, 0.05),
trans=c('N','N','N','L','L','L','N'))
pop <- simpopmlx(n=3, parameter=param)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.