summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorSuraj Yerramilli2015-08-22 14:15:53 +0530
committerSuraj Yerramilli2015-08-22 14:15:53 +0530
commitd235571653f5e0183fc0e85831f8dd8d4e68fd3f (patch)
treef23b6adb44f3a1ea46ba32643fd407dd85344918 /man
parentac0174c91483b63b2cc114a23c1ce2e9ab62bb68 (diff)
downloadSysID-R-code-d235571653f5e0183fc0e85831f8dd8d4e68fd3f.tar.gz
SysID-R-code-d235571653f5e0183fc0e85831f8dd8d4e68fd3f.tar.bz2
SysID-R-code-d235571653f5e0183fc0e85831f8dd8d4e68fd3f.zip
More efficient lapply instead of for loop
Diffstat (limited to 'man')
-rw-r--r--man/detrend.Rd8
1 files changed, 4 insertions, 4 deletions
diff --git a/man/detrend.Rd b/man/detrend.Rd
index d517b49..3f4faa4 100644
--- a/man/detrend.Rd
+++ b/man/detrend.Rd
@@ -4,10 +4,10 @@
\alias{detrend}
\title{Remove offsets and linear trends}
\usage{
-detrend(data, type = c("constant", "linear")[1])
+detrend(x, type = c("constant", "linear")[1])
}
\arguments{
-\item{data}{an object of class \code{idframe}}
+\item{x}{an object of class \code{idframe}}
\item{type}{trend type - "constant" or "linear". (Default: \code{"constant"})}
}
@@ -16,9 +16,9 @@ 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
+ \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
+ \code{input_trend} \tab \code{list} containing trend fits for each input
variable
}
}