philrobPlot: Plots the time series generated with philrob

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

View source: R/philrob.R

Description

Plots the time series generated with philrob

Usage

1

Arguments

sol

Solution of a philrob simulation

Value

The simulation's plot

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

Examples

1
2
3
4
5
6
7
# Generate a solution
y0 <- c(Vv = -13, Vm = 1, H = 10)
nDays <- 30
ts <- seq(0, nDays*24, length.out = nDays*24*20)
sol <- philrob(ts, y0)
# Plot it
philrobPlot(sol)

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