Learn R Programming

bulletr (version 0.1)

processBullets: 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.

Usage

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

Arguments

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 mean window around the ideal crosscut
...
Additional arguments, passed to the get_grooves function

Value

data frame

Examples

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

Run the code above in your browser using DataLab