borbelyPlot: Plots the time series generated with borbely

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

View source: R/borbely.R

Description

Plots the time series generated with borbely

Usage

1

Arguments

sol

Solution of a borbely simulation

Value

The simulation's plot

Author(s)

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

References

Skeldon AC, Dijk D-J, Derks G. Mathematical Models for Sleep-Wake Dynamics: Comparison of the Two-Process Model and a Mutual Inhibition Neuronal Model. PLoS One. 2014 Aug 1;9(8):e103877. Available from: http://dx.plos.org/10.1371/journal.pone.0103877

See Also

borbely

Examples

1
2
3
4
5
6
7
# Generate a solution
y0 <- 0.4
nDays <- 3
ts <- seq(0, nDays*24, length.out = nDays*24*20)
sol <- borbely(ts, y0)
# Plot it
borbelyPlot(sol)

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