nutrientRange: Geneate nutrient range stats

Description Usage Arguments Examples

Description

This function produces nutrient ranges at two different depths - usually at the surface and at depth. The depths are given to the function as two separate depth ranges. The result of nutrientRange is stored under nutrientRanges in the global environment.

Usage

1
nutrientRange(depth_column, nutrient_columns, depth1, depth2, depth3, depth4)

Arguments

depth_column

The depth (or pressure) values.

nutrient_columns

All nutrient data. Must be provided in separate columns.

depth1

The upper limit of your shallow depth range.

depth2

The lower limit of your shallow depth range.

depth3

The upper limit of your deep depth range.

depth4

The lower limit of your deep depth range.

Examples

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

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

nutrientRange(greenland$Depth,
     greenland[,10:11],
     0,15,80,115)

View(nutrientRanges)

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