PKPDsim
PKPDsim copied to clipboard
cv_to_omega function broken?
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().
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.