dPhilrob: Phillips and Robinson's model flow

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/philrob.R

Description

Generates the flow (right hand side of the differential equation) for the Phillips and Robinson's model

Usage

1
2

Arguments

time

The time (in h)

y

The state

parms

Model's parameters (optional, see philrob_default_parms)

C

External forcing as a function of t (in h) (optional, see philrob_default_forcing)

Value

The flow (right hand side of the differential equation)

Author(s)

Pablo Rodríguez-Sánchez (https://pabrod.github.io)

References

Phillips AJK, Robinson PA. A Quantitative Model of Sleep-Wake Dynamics Based on the Physiology of the Brainstem Ascending Arousal System. J Biol Rhythms. 2007 Apr 29;22(2):167–79. Available from: http://journals.sagepub.com/doi/10.1177/0748730406297512

See Also

philrob, philrob_default_parms, saturating_function

Examples

1
2
3
4
5
6
## Not run: 
t <- 0
y <- c(Vv = 1, Vm = 1, H = 1)
dy <- dPhilrob(t, y)

## End(Not run)

PabRod/sleepR documentation built on Dec. 21, 2020, 3:27 p.m.