View source: R/find_optical_depth.R
find_optical_depth | R Documentation |
Function to estimate the depth of a user-specified optical depth.
find_optical_depth( x, od.col = "optical_depth", depth.col = "cdepth", target.od = 2.302585, with.input = F, return.col = F )
x |
Data frame containing optical depth and bin depth for a single cast. |
od.col |
Name of the data frame column containing optical depth |
depth.col |
Name of the data frame column containing depths |
target.od |
Optical depth value of interest. |
with.input |
Logical. Should the input data frame be returned with the optical depth? By default, false. |
return.col |
Optional. Name of the column for output. Default = F. |
Returns either a numerical vector with the optical depth for the cast, or a data frame with the input data and the optical depth data for the cast. Optical depths exceeding the maximum depth of the cast are returned as an NA.
Sean Rohan sean.rohan@noaa.gov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.