allAtOnce

allAtOnce(
  transectObject,
  outputFilename,
  detrendElevs = TRUE,
  returnObject = TRUE,
  doExportSpatial = FALSE,
  ...
)

Arguments

transectObject

Object created by the generateCrossSections function

outputFilename

This is the name of the pdf file that is generated as well as the KMZ if spatial files are exported.

detrendElevs

Logical (TRUE). Calculated a detrended raster file. Can be computationally expensive, especially with long target stream lengths.

returnObject

Logical (FALSE). Whether or not to return an R object for additional analysis. If FALSE, NULL is returned.

doExportSpatial

Logical (FALSE). Whether or not to generate KML exports. If both this and returnObject are FALSE, a pdf map and cross section plot are exported and nothing else.

...

Additonal arguments to be passed to addTopoLines, addCrossSectionElevations, buildXSectionPlot, or rasterPlotter.

Value

Either a transectObject or NULL