aboutsummaryrefslogtreecommitdiff
path: root/man/nafta.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-10-25 00:37:42 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2019-10-25 02:03:54 +0200
commit0a3eb0893cb4bd1b12f07a79069d1c7f5e991495 (patch)
tree1bf0ffeb710b3438fee224d0a657606b4c36b495 /man/nafta.Rd
parent053bf27d3f265c7a7378e2df3e00cf891e0d1bb2 (diff)
Use roxygen for functions and methods
Diffstat (limited to 'man/nafta.Rd')
-rw-r--r--man/nafta.Rd79
1 files changed, 46 insertions, 33 deletions
diff --git a/man/nafta.Rd b/man/nafta.Rd
index 6917d0e9..49c13afc 100644
--- a/man/nafta.Rd
+++ b/man/nafta.Rd
@@ -1,52 +1,65 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/nafta.R
\name{nafta}
\alias{nafta}
-\title{
-Evaluate parent kinetics using the NAFTA guidance
+\alias{print.nafta}
+\title{Evaluate parent kinetics using the NAFTA guidance}
+\source{
+NAFTA (2011) Guidance for evaluating and calculating degradation
+ kinetics in environmental media. NAFTA Technical Working Group on
+ Pesticides
+ \url{https://www.epa.gov/pesticide-science-and-assessing-pesticide-risks/guidance-evaluating-and-calculating-degradation}
+ accessed 2019-02-22
+
+ US EPA (2015) Standard Operating Procedure for Using the NAFTA Guidance to
+ Calculate Representative Half-life Values and Characterizing Pesticide
+ Degradation
+ \url{https://www.epa.gov/pesticide-science-and-assessing-pesticide-risks/standard-operating-procedure-using-nafta-guidance}
}
\usage{
-nafta(ds, title = NA, quiet = FALSE, \dots)
-}
-\description{
- The function fits the SFO, IORE and DFOP models using
- \code{\link{mmkin}} and returns an object of class
- \code{nafta} that has methods for printing and plotting.
+nafta(ds, title = NA, quiet = FALSE, ...)
+
+\method{print}{nafta}(x, quiet = TRUE, digits = 3, ...)
}
\arguments{
- \item{ds}{
- A dataframe that must contain one variable called "time" with the time
- values specified by the \code{time} argument, one column called "name" with
- the grouping of the observed values, and finally one column of observed
- values called "value".
- }
- \item{title}{ Optional title of the dataset }
- \item{quiet}{ Should the evaluation text be shown? }
- \item{\dots}{
- Further arguments passed to \code{\link{mmkin}}.
- }
+\item{ds}{A dataframe that must contain one variable called "time" with the
+time values specified by the \code{time} argument, one column called
+"name" with the grouping of the observed values, and finally one column of
+observed values called "value".}
+
+\item{title}{Optional title of the dataset}
+
+\item{quiet}{Should the evaluation text be shown?}
+\item{\dots}{Further arguments passed to \code{\link{mmkin}} (not for the
+printing method).}
+
+\item{x}{An \code{\link{nafta}} object.}
+
+\item{digits}{Number of digits to be used for printing parameters and
+dissipation times.}
}
\value{
- An list of class \code{nafta}. The list element named "mmkin" is the
- \code{\link{mmkin}} object containing the fits of the three models.
- The list element named "title" contains the title of the dataset used.
- The list element "data" contains the dataset used in the fits.
+An list of class \code{nafta}. The list element named "mmkin" is the
+ \code{\link{mmkin}} object containing the fits of the three models. The
+ list element named "title" contains the title of the dataset used. The
+ list element "data" contains the dataset used in the fits.
}
-\source{
- NAFTA (2011) Guidance for evaluating and calculating degradation kinetics
- in environmental media. NAFTA Technical Working Group on Pesticides
- \url{https://www.epa.gov/pesticide-science-and-assessing-pesticide-risks/guidance-evaluating-and-calculating-degradation}
- accessed 2019-02-22
+\description{
+The function fits the SFO, IORE and DFOP models using \code{\link{mmkin}}
+and returns an object of class \code{nafta} that has methods for printing
+and plotting.
- US EPA (2015) Standard Operating Procedure for Using the NAFTA Guidance to
- Calculate Representative Half-life Values and Characterizing Pesticide
- Degradation
- \url{https://www.epa.gov/pesticide-science-and-assessing-pesticide-risks/standard-operating-procedure-using-nafta-guidance}
+Print nafta objects. The results for the three models are printed in the
+order of increasing model complexity, i.e. SFO, then IORE, and finally DFOP.
}
\examples{
+
nafta_evaluation <- nafta(NAFTA_SOP_Appendix_D, cores = 1)
print(nafta_evaluation)
plot(nafta_evaluation)
+
}
\author{
- Johannes Ranke
+Johannes Ranke
}

Contact - Imprint