tsplot: Time-series plot

Description Usage Arguments Examples

Description

Time-series plot

Usage

1
2
tsplot(dt, params, bwfw, pwsw, inout, inclegend = TRUE, tofile = FALSE,
  print_xaxis = TRUE, print_main = TRUE)

Arguments

dt

data.frame

params

character vector of column names

bwfw

character choice if "fw" or "bw"

pwsw

character choice of "pw" or "sw"

inout

character choice of "in" or "out"

inclegend

logical include legend?

tofile

logical save plot to disk?

print_xaxis

logical print xaxis?

print_main

logical print main label?

Examples

1
2
3
4
5
6
7
8
## Not run: 
cfieldall <- read.csv("/home/jose/Documents/Science/Data/peatcollapse/fieldallv9.csv",
stringsAsFactors = FALSE)
cfieldall$collect_date <- as.POSIXct(cfieldall$collect_date)
tsplot(cfieldall, params = names(cfieldall)[c(9,12,13,14,16,18,19,22)],
bwfw = "bw", pwsw = "pw", tofile = FALSE, inout = "in", inclegend = FALSE)

## End(Not run)

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