
Function to deal with non-ODE models within the framework of dMod. See example.
Xt(condition = NULL)
either NULL (generic prediction for any condition) or a character, denoting the condition for which the function makes a prediction.
Object of class prdfn.
# NOT RUN {
x <- Xt()
g <- Y(c(y = "a*time^2+b"), f = NULL, parameters = c("a", "b"))
times <- seq(-1, 1, by = .05)
pars <- c(a = .1, b = 1)
plot((g*x)(times, pars))
# }
Run the code above in your browser using DataLab