redfield: Redfield ratio analysis

Description Usage Arguments Examples

Description

This function provides redfield ratios and statistics. Any NA values are automatically removed. The function accepts the optional argument subset, which lets you specify whether the redfield statistics should be organized by any particular variable.

Usage

1
redfield(C, N, P, subset = x)

Arguments

C

Drawdown of organic carbon in umol/kg.

N

Drawdown of nitrate in umol/kg.

P

Drawdown of phosphate in umol/kg.

subset

Subset the data by any variables i.e. cruise, station.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(oceanchemistry)

data("greenland", package = "oceanchemistry")
head(greenland)

redfield(greenland$'Carbon drawdown',
     greenland$'Nitrate drawdown',
     greenland$'Phosphate drawdown',
     subset = greenland$Cruise)

View(redfield1)
View(redstats1)

MattForsyth/oceanchemistry documentation built on May 25, 2019, 12:23 p.m.