processBullets: Process x3p file

View source: R/x3p.R View source: R/miscellaneous.R

processBulletsR Documentation

Process x3p file

Description

x3p file of a 3d topological bullet surface is processed at surface crosscut x, the bullet grooves in the crosscuts are identified and removed, and a loess smooth is used (see ?loess for details) to remove the big structure.

x3p file of a 3d topological bullet surface is processed at surface crosscut x, the bullet grooves in the crosscuts are identified and removed, and a loess smooth is used (see ?loess for details) to remove the big structure.

Usage

processBullets(bullet, name = "", x = 100, grooves = NULL, span = 0.75,
  window = 1, ...)

processBullets(bullet, name = "", x = 100, grooves = NULL, span = 0.75,
  window = 1, ...)

Arguments

bullet

file as returned from read_x3p

name

name of the bullet

x

(vector) of surface crosscuts to process (in meters).

grooves

The grooves to use as a two element vector, if desired

span

The span for the loess fit

window

The mean window around the ideal crosscut

...

Additional arguments, passed to the get_grooves function

bullet

file as returned from read_x3p

name

name of the bullet

x

(vector) of surface crosscuts to process.

grooves

The grooves to use as a two element vector, if desired

span

The span for the loess fit

window

The window around the ideal crosscut

...

Additional arguments, passed to the get_grooves function

Value

data frame

data frame

Examples

data(br411)
br411_processed <- processBullets(br411, name = "br411")
data(br411)
br411_processed <- processBullets(br411, name = "br411")

erichare/bulletr documentation built on May 3, 2024, 10:14 p.m.