View source: R/window_filter.R
| window_filter | R Documentation | 
Applies a window filter to variable channels using a user-specified filtering method.
window_filter(
  x,
  method,
  variables,
  window,
  offset = NULL,
  halfwidth = NULL,
  freq_n = NULL
)
x | 
 ctd object  | 
method | 
 Filtering method options are "median", "boxcar", "cosine", "gaussian", "triangle"  | 
variables | 
 Character vector of data variable names to filter, such as "temperature", "conductivity".  | 
window | 
 Numeric vector of windows (i.e. number of scans for the window  | 
offset | 
 For "gaussian" filtering. Value of the offset parameter. SBEDP uses as defaults: offset = 0, halfwidth = 1  | 
halfwidth | 
 For "gaussian" filter. Value of the halfwidth parameter.  | 
freq_n | 
 For "gaussian" filter. Optional. Sampling interval in seconds (1L numeric). Sampling interval is inferred from timeS if not provided.  | 
ctd object with channels filtered
Sean Rohan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.