diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2017-01-18 19:58:13 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2017-01-18 19:58:13 +0100 |
commit | a1d9f93138c2cfed92a683e37e72c737d52b7ad7 (patch) | |
tree | b05e26c2c35f62145ad86a34ce43b9aeb9faef91 /man/plot.one_box.Rd | |
parent | 7900d5aa3b9e3036d0fd983a5611f71d3f3f64b2 (diff) |
One box time series and twa values
- one_box() creates decline time series from mkinfit objects or simply
from a half-life
- sawtooth() generates sawtooth curves for arbitrary application
patterns and decline models
- twa() calculates moving window averages
- max_twa() gives their maxima and
- plot.one_box() can plot series generated by one_box() or sawtooth(),
optionally adding a greay rectangle to illustrate the maximum moving
window time weighted average
Diffstat (limited to 'man/plot.one_box.Rd')
-rw-r--r-- | man/plot.one_box.Rd | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/man/plot.one_box.Rd b/man/plot.one_box.Rd new file mode 100644 index 0000000..7d30bd2 --- /dev/null +++ b/man/plot.one_box.Rd @@ -0,0 +1,35 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/twa.R +\name{plot.one_box} +\alias{plot.one_box} +\title{Plot time series of decline data} +\usage{ +\method{plot}{one_box}(x, xlim = range(time(x)), ylim = c(0, max(x)), + xlab = "Time", ylab = "Fraction of initial", max_twa = NULL, + max_twa_var = dimnames(x)[[2]][1], ...) +} +\arguments{ +\item{x}{The object of type \code{\link{one_box}} to be plotted} + +\item{xlim}{Limits for the x axis} + +\item{ylim}{Limits for the y axis} + +\item{xlab}{Label for the x axis} + +\item{ylab}{Label for the y axis} + +\item{max_twa}{If a numeric value is given, the maximum time weighted +average concentration(s) is/are shown in the graph.} + +\item{max_twa_var}{Variable for which the maximum time weighted average should +be shown if max_twa is not NULL.} + +\item{...}{Further arguments passed to methods} +} +\description{ +Plot time series of decline data +} +\examples{ +plot(sawtooth(one_box(10), 3, 7), max_twa = 21) +} |