plot.ring: plot.ring

Description Usage Arguments Value Examples

View source: R/plot.ring.R

Description

plot.ring

Usage

1
2
3
4
## S3 method for class 'ring'
plot(x, which = c("rate", "time", "intensity", "all"),
  resolution = NA, rate.max = max(x$gam$rings$mid_rate),
  time.max = max(x$gam$data$t), intensity.max = 1, ...)

Arguments

x

CanaogramGAM to plot

which

Which plot type to create (rate, time, intensity, or all plots)

resolution

Resolution at which to make the plot (can be higher than the data resolution)

rate.max

Rate to plot at maximum brightness

time.max

Time to plot at maximum brightness

intensity.max

Intensity to plot at maximum brightness

...

<not used>

Value

A ggplot2 object of the created plot(s)

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.ring(fit)
plot.ring(processed, which = 'all')

## End(Not run)

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