polynomial_vs_lambda: Polynomial vs Lambda Visualization

Description Usage Arguments Details Value Author(s)

View source: R/retina-package.r

Description

Visualize the effect of polynomial number and lambda on the thin plate spline fit.

Usage

1
2
3
polynomial_vs_lambda(retina_obj, spatial_res = 1000, polynomial_m_vec = c(3,
  4), lambda_vec = c(0, 0.001), frequency_cap = 100,
  error_x_limits = c(1000, 7000))

Arguments

retina_obj

Retinal object

spatial_res

number of pixels wide the output image will be. (1000 by default)

polynomial_m_vec

by default c(3,4), defines the polynomial degrees to try

lambda_vec

by default c(0,0.001), defines the lambda values to try

frequency_cap

y axis limit for the frequency (used to set all plots to the same Y scale)

error_x_limits

xlim 2 element vector passed for the x axis. See ?plot

Details

pdf documents in the working directory for each combination of lambda and m (polynomial degree)

Value

DAT data.frame containing each column with a combination of lambda and polynomial values. Each row value is an error value

Author(s)

Brian Cohn brian.cohn@usc.edu Lars Schmitz


yinscapital/retina-analysis-reference documentation built on May 22, 2019, 12:40 p.m.