plot.DeltaCanaogramGAM: plot.DeltaCanalogramGAM

Description Usage Arguments Value Examples

View source: R/delta.gam.R

Description

plot.DeltaCanalogramGAM

Usage

1
2
3
## S3 method for class 'DeltaCanaogramGAM'
plot(x, which = c("rate", "time", "intensity",
  "all"), max.time = 10, max.rate = 5, ...)

Arguments

x

DeltaCanaogramGAM object to plot

which

Which of 'rate', 'time', 'intensity', or 'all' to plot

max.time

Maximum time difference to show in time plots (for legend)

max.rate

Maximum rate difference to show in rate plots (for legend)

...

<not used>

Value

A ggplot2 object of the plot

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
images.before <- read.images('./data/before_T00', n = 5)
images.after  <- read.images('./data/after_T00', n = 5)
fit.before <- fit.gam(images.before)
fit.after <- fit.gam(images.after)
delta.fit <- get.change(fit.before, fit.after)
plot(delta.fit, which = 'all', max.time = 10, max.rate = 5)

## End(Not run)

enbrown/eye-canalogram documentation built on April 10, 2020, 12:04 a.m.