fit_loess {bulletr} | R Documentation |
First, the surface measurements of the bullet land is trimmed to be within left and right groove as specified by vector groove
.
A loess regression is fit to the remaining surface measurements and residuals are calculated.
The most extreme 0.25
The result is called the signature of the bullet land.
fit_loess(bullet, groove, span = 0.75)
bullet |
The bullet object as returned from fortify_x3p |
groove |
vector of two numeric values indicating the location of the left and right groove. |
span |
The span to use for the loess regression |
a list of a data frame of the original bullet measurements extended by loess fit, residuals, and standard errors and two plots: a plot of the fit, and a plot of the bullet's land signature.