fit_loess: Fit a loess curve to a bullet data frame

Description Usage Arguments Value

Description

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.

Usage

1
fit_loess(bullet, groove, span = 0.75)

Arguments

bullet

The bullet object as returned from x3p_to_df

groove

vector of two numeric values indicating the location of the left and right groove.

span

The span to use for the loess regression

Value

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.


CSAFE-ISU/bulletr documentation built on May 22, 2019, 12:22 p.m.