plot.images: plot.images

Description Usage Arguments Value Examples

View source: R/plot.images.R

Description

plot.images

Usage

1
2
3
## S3 method for class 'images'
plot(x, frames = c(1, round(max(x$gam$data$t)/2),
  max(x$gam$data$t)), masked = FALSE, ...)

Arguments

x

CanaogramGAM to plot

frames

Which frames to show

masked

Show just the masked data or all data

...

<not used>

Value

A ggplot2 object of the plot

Examples

1
2
3
4
5
6
7
## Not run: 
images <- read.images('./data/Trial-1/one gree_T00', n = 10)
fit <- fit.gam(images)
plot.images(fit, scale = 'raw', masked = FALSE)
plot.images(fit, scale = 'scaled', masked = TRUE)

## End(Not run)

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