PKPDsim icon indicating copy to clipboard operation
PKPDsim copied to clipboard

cv_to_omega function broken?

Open coenvanhasselt opened this issue 8 years ago • 1 comments

Copy-paste from documentation website:

> cv_to_omega(list(CL = 0.1, V = 0.1))
Error in cv_to_omega(list(CL = 0.1, V = 0.1)) : 
  Parameter list required as argument to cv_to_omega().

coenvanhasselt avatar Apr 12 '17 17:04 coenvanhasselt

hmm, that should be something like this:

p <- list(CL = 1, V = 1)
om <- cv_to_omega(list(CL = 0.1, V = 0.1), parameters = p)

since it matches the omega's to the parameter values to calculate the right order for the omega matrix. Will check and update docs.

ronkeizer avatar Apr 13 '17 21:04 ronkeizer