iso {isoWater}R Documentation

Iso Object

Description

Creates objects of type "iso"

Usage

iso(H, O = 0, Hsd = 0, Osd = 0, HOc = 0)

Arguments

H

numeric or data.frame. If numeric, hydrogen isotope value or vector of hydrogen isotope values. If data.frame, data frame including five numeric fields that contain the H, O, Hsd, Osd, and HOc values (respectively).

O

numeric. Oxygen isotope value or vector of oxygen isotope values.

Hsd

numeric. 1 standard deviation uncertainty of H (value or vector of values).

Osd

numeric. 1 standard deviation uncertainty of O (value or vector of values).

HOc

numeric. Covariance of H and O uncertainties (value or vector of values).

Details

For numeric vector arguments, values in Hsd, Osd, and HOc are recycled if their length is shorter than that of H and O.

Value

Returns an object of class “iso”, a data.frame containing the provided values.

Examples

obs = iso(-30, -5, 2, 0.2, 0.3)
str(obs)

[Package isoWater version 1.2.0 Index]