Xt: Generate a prediction function that returns times

Description Usage Arguments Value Examples

Description

Function to deal with non-ODE models within the framework of dMod. See example.

Usage

1

Arguments

condition

either NULL (generic prediction for any condition) or a character, denoting the condition for which the function makes a prediction.

Value

Object of class prdfn.

Examples

1
2
3
4
5
6
7
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))


Search within the dMod package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.