We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello Im trying PKPDSim and ran the below code as in the site: install.packages("PKPDsim") library(PKPDsim) library(ggplot2)
pk2 <- new_ode_model( code = "dAdt[1] = -(CL/V) * A[1]", obs = list(cmt = 1, scale = "V"), dose = list(cmt = 1) ) r2 <- new_regimen( amt = 100, n = 5, interval = 12, type = "infusion", t_inf = 2 ) dat2 <- sim( ode = pk2, parameters = p, regimen = r2, only_obs = TRUE ) ggplot(dat2, aes(x = t, y = y)) + geom_line()
Can you help advice what is not right here please Thank you Jesmin
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello
Im trying PKPDSim and ran the below code as in the site:
install.packages("PKPDsim")
library(PKPDsim)
library(ggplot2)
pk2 <- new_ode_model(
compared to the ones in the sitecode = "dAdt[1] = -(CL/V) * A[1]",
obs = list(cmt = 1, scale = "V"),
dose = list(cmt = 1)
)
r2 <- new_regimen(
amt = 100,
n = 5,
interval = 12,
type = "infusion",
t_inf = 2
)
dat2 <- sim(
ode = pk2,
parameters = p,
regimen = r2,
only_obs = TRUE
)
ggplot(dat2, aes(x = t, y = y)) +
geom_line()
Can you help advice what is not right here please
Thank you
Jesmin
The text was updated successfully, but these errors were encountered: