aboutsummaryrefslogtreecommitdiff
path: root/man/TOXSWA_cwa.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2016-09-27 23:00:48 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2016-09-27 23:00:48 +0200
commit12a31f4c130c551f82232d9ef7dfb608bd52c53f (patch)
tree2525ab1ea4102a6edddbd0c2f03f4a851bf2f9c5 /man/TOXSWA_cwa.Rd
parent0d958ab6f84b569b5437f231c56004890c4ae23b (diff)
Reorganise repository using standard package layout
Diffstat (limited to 'man/TOXSWA_cwa.Rd')
-rw-r--r--man/TOXSWA_cwa.Rd58
1 files changed, 58 insertions, 0 deletions
diff --git a/man/TOXSWA_cwa.Rd b/man/TOXSWA_cwa.Rd
new file mode 100644
index 0000000..de87510
--- /dev/null
+++ b/man/TOXSWA_cwa.Rd
@@ -0,0 +1,58 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/TOXSWA_cwa.R
+\docType{class}
+\name{TOXSWA_cwa}
+\alias{TOXSWA_cwa}
+\title{R6 class for holding TOXSWA cwa concentration data and associated statistics}
+\format{An \code{\link{R6Class}} generator object.}
+\usage{
+TOXSWA_cwa
+}
+\description{
+An R6 class for holding TOXSWA cwa concentration data and some associated statistics.
+Usually, an instance of this class will be generated by \code{\link{read.TOXSWA_cwa}}.
+}
+\section{Fields}{
+
+\describe{
+\item{\code{filename}}{Length one character vector.}
+
+\item{\code{basedir}}{Length one character vector.}
+
+\item{\code{segment}}{Length one integer, specifying for which segment the cwa data were read.}
+
+\item{\code{cwas}}{Dataframe holding the concentrations.}
+
+\item{\code{events}}{List of dataframes holding the event statistics for each threshold.}
+
+\item{\code{windows}}{Matrix of maximum time weighted average concentrations (TWAC_max)
+and areas under the curve in µg/day * h (AUC_max_h) or µg/day * d (AUC_max_d)
+for the requested moving window sizes in days.}
+}}
+\section{Methods}{
+
+\describe{
+ \item{\code{get_events(threshold, total = FALSE)}}{
+ Populate a datataframe with event information for the specified threshold value
+ in µg/L. If \code{total = TRUE}, the total concentration including the amount
+ adsorbed to suspended matter will be used. The resulting dataframe is stored in the
+ \code{events} field of the object.
+ }
+ \item{\code{moving_windows(windows, total = FALSE)}}{
+ Add to the \code{windows} field described above.
+ Again, if \code{total = TRUE}, the total concentration including the amount
+ adsorbed to suspended matter will be used.
+ }
+}
+}
+\examples{
+H_sw_R1_stream <- read.TOXSWA_cwa("00003s_pa.cwa",
+ basedir = "SwashProjects/project_H_sw/TOXSWA",
+ zipfile = system.file("testdata/SwashProjects.zip",
+ package = "pfm"))
+H_sw_R1_stream$get_events(c(2, 10))
+H_sw_R1_stream$moving_windows(c(7, 21))
+print(H_sw_R1_stream)
+}
+\keyword{data}
+

Contact - Imprint