Description Usage Arguments Details Value Author(s)
View source: R/retina-package.r
Visualize the effect of polynomial number and lambda on the thin plate spline fit.
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))
|
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 |
pdf documents in the working directory for each combination of lambda and m (polynomial degree)
DAT data.frame containing each column with a combination of lambda and polynomial values. Each row value is an error value
Brian Cohn brian.cohn@usc.edu Lars Schmitz
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.