fit.gam: fit.gam

Description Usage Arguments Value Examples

View source: R/fit.gam.R

Description

fit.gam

Usage

1
2
fit.gam(obj, r_bands = 5, theta_band_size = 10, fit.grid = TRUE,
  fit.bands = TRUE)

Arguments

obj

CanalogramImages object

r_bands

Number of radial bands to fit

theta_band_size

Degrees per angular band

fit.grid

Whether to fit the models to each grid point

fit.bands

Whether to fit a global model to bands

Value

CanaogramGAM object describing the fit

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
images <- read.images('./data/Trial-1/one gree_T00', n = 5)
plot(images)
fit <- fit.gam(images)
plot(fit)
plot.images(fit)
plot.ring(fit)

## End(Not run)

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