rskPatm: Estimate Atmospheric Pressure in Rsk Object

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/rsk.R

Description

Estimate atmospheric pressure in rsk record.

Usage

1
rskPatm(x, dp = 0.5)

Arguments

x

A rsk object, or a list of pressures (in decibars).

dp

Half-width of pressure window to be examined (in decibars).

Details

Pressures must be in decibars for this to work. First, a subset of pressures is created, in which the range is sap-dp to sap+dp. Here, sap=10.1325 dbar is standard sealevel atmospheric pressure. Within this window, three measures of central tendency are calculated: the median, the mean, and a weighted mean that has weight given by exp(-2*((p - sap) / dp)^2).

Value

A list of four estimates: sap, the median, the mean, and the weighted mean.

Author(s)

Dan Kelley

See Also

The documentation for rsk-class explains the structure of rsk objects, and also outlines the other functions dealing with them.

Other things related to rsk data: [[,rsk-method, [[<-,rsk-method, as.rsk, plot,rsk-method, read.rsk, rsk-class, rskToc, rsk, subset,rsk-method, summary,rsk-method

Examples

1
2
3

oce documentation built on Oct. 4, 2018, 5:04 p.m.