Hi there I am trying to run multiple-model optimization using PM_opt. I don't have the original run, so my poppar is:
poppar <- list(wt = 1, mean = c( 11.5000, 18.7000, 7.9800,
0.0613, 1.9000, 9.0200, 0.5440),
covar = diag(c(0.097, 0.485, 0.534,
0.399, 0.122, 0.207, 0.051)))
where mean is a list of the mean parameter values from a published model I'm using, and covar is a matrix created by log-normal transformation of the published %CV figures for each parameter from the published paper, and applying diag() as above to create a matrix.
- Do I even need to log-normal transform the %CV values or should I leave them in %CV form?
- When I try to run PM_opt$new using the above poppar, I get:
<error/rlang_error>
Error in value[[3L]]():
poppar is malformed with elements "mean" and "covar".
Backtrace:
▆
- └─PM_opt$new(...)
- └─Pmetrics (local) initialize(...)
-
-
└─base (local) tryCatchList(expr, classes, parentenv, handlers)
-
└─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
-
-
└─cli::cli_abort(c(x = e$message))
-
I'm not sure what the problem with the poppar is?
Many thanks!
Hi there I am trying to run multiple-model optimization using PM_opt. I don't have the original run, so my poppar is:
poppar <- list(wt = 1, mean = c( 11.5000, 18.7000, 7.9800,
0.0613, 1.9000, 9.0200, 0.5440),
covar = diag(c(0.097, 0.485, 0.534,
0.399, 0.122, 0.207, 0.051)))
where mean is a list of the mean parameter values from a published model I'm using, and covar is a matrix created by log-normal transformation of the published %CV figures for each parameter from the published paper, and applying diag() as above to create a matrix.
<error/rlang_error>
Error in
value[[3L]]():popparis malformed with elements "mean" and "covar".Backtrace:
▆
I'm not sure what the problem with the poppar is?
Many thanks!