Description Usage Arguments Value Author(s) Examples
View source: R/plotting_tools.R
Raster plot / somnogram
1 2 | rasterPlot(sol, dailySamples = 480, asleepCol = "grey26",
awakeCol = "cyan")
|
sol |
Simulation (output of |
dailySamples |
Number of samples per day (optional) |
asleepCol |
Color for asleep state (optional) |
awakeCol |
Color for awake state (optional) |
Plots the raster plot / somnogram
Pablo RodrÃguez-Sánchez (https://pabrod.github.io)
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.