scplot: scatter plot of peat collapse data

Description Usage Arguments Examples

Description

Create a scatter plot of peat collapse data

Usage

1
2
scplot(dt, params = c("ph", "LPH", "salinity", "CL.mglCaCO3"),
  rangecor = c("LPH > 6"), bwfw = "all", pwsw = "pw")

Arguments

dt

data.frame

params

provide a list of variables to plot. This list is parsed two at a time for scplot. Otherwise can be provided as a subset of data.frame names

rangecor

provide a list of logical arguments to trim data outliers

bwfw

character choice of "bw" or "fw"

pwsw

character choice of "pw" or "sw"

Examples

1
2
3
4
5
6
## Not run: 
dt <- read.csv(list.files("/home/jose/Documents/Science/Data/peatcollapse/",
pattern = "fieldall*")[1], stringsAsFactors = FALSE)
scplot(dt)

## End(Not run)

jsta/peatcollapse documentation built on May 15, 2019, 5 a.m.