summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--R/preprocess.R14
-rw-r--r--man/detrend.Rd13
2 files changed, 11 insertions, 16 deletions
diff --git a/R/preprocess.R b/R/preprocess.R
index cd1dee4..4a179ef 100644
--- a/R/preprocess.R
+++ b/R/preprocess.R
@@ -7,14 +7,12 @@
#'
#' @return
#' A list containing the following elements
-#'
-#' \tabular{ll}{
-#' \code{fitted.values} \tab \code{idframe} object with detrended variables \cr
-#' \code{output_trend} \tab \code{list} containing trend fits for each output
-#' variable \cr
-#' \code{input_trend} \tab \code{list} containing trend fits for each input
-#' variable
-#' }
+#' \item{fitted.values}{\code{idframe} object with detrended variables}
+#' \item{output_trend}{\code{list} containing trend fits for each output
+#' variable}
+#' \item{input_trend}{\code{list} containing trend fits for each input
+#' variable}
+#'
#'
#' @examples
#' data(cstr)
diff --git a/man/detrend.Rd b/man/detrend.Rd
index b10565d..a195171 100644
--- a/man/detrend.Rd
+++ b/man/detrend.Rd
@@ -13,14 +13,11 @@ detrend(x, type = c("constant", "linear")[1])
}
\value{
A list containing the following elements
-
-\tabular{ll}{
- \code{fitted.values} \tab \code{idframe} object with detrended variables \cr
- \code{output_trend} \tab \code{list} containing trend fits for each output
- variable \cr
- \code{input_trend} \tab \code{list} containing trend fits for each input
- variable
- }
+\item{fitted.values}{\code{idframe} object with detrended variables}
+\item{output_trend}{\code{list} containing trend fits for each output
+ variable}
+\item{input_trend}{\code{list} containing trend fits for each input
+ variable}
}
\description{
Removes the offsets or linear trends in each of the input and output matrices.