IsMonotonicallyDecreasing {ecotoxicology}R Documentation

Determine if a series is monotonically decreasing

Description

Returns TRUE if all proportions are in a monotonically decreasing sequence

Usage

IsMonotonicallyDecreasing(p)

Arguments

p

numeric vector

Value

True is the series is monotonically decreasing

Author(s)

Jose Gama

References

Hamilton, m.a., R.c. Russo, and r.v. Thurston, 1977. Trimmed spearman-karber method for estimating median Lethal concentrations in toxicity bioassays. Environ. Sci. Technol. 11(7): 714-719; Correction 12(4):417 (1978).

Examples

IsMonotonicallyDecreasing(1:10)
IsMonotonicallyDecreasing(6:2)
IsMonotonicallyDecreasing(c(1,3,2))

[Package ecotoxicology version 1.0.1 Index]