polar_gam: Polar generalised additive model (polar GAM)
Description
It fits a generalised additive model (GAM) to transformed polar tongue data
and it returns a model in polar coordinates. Use plot_polar_smooths()
for plotting.
A data set containing the spline coordinates (cartesian coordinates must be in columns named X and Y, polar coordinates in columns named angle and radius; these are the defaults in data imported with read_aaa()).
origin
The coordinates of the origin as a vector of c(x, y) coordinates.
fan_lines
A numeric vector with two fan lines (the default is
c(10, 25)).
AR_start
The AR.start argument to be passed to mgcv::bam().