summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--R/detrend.R2
-rw-r--r--man/detrend.idframe.Rd2
2 files changed, 2 insertions, 2 deletions
diff --git a/R/detrend.R b/R/detrend.R
index 392272b..700b8ff 100644
--- a/R/detrend.R
+++ b/R/detrend.R
@@ -15,7 +15,7 @@
#'
#' @examples
#' data(cstr)
-#' fit <- detrend(cstr)
+#' fit <- detrend.idframe(cstr)
#' cstr_detrend <- predict(fit)
#'
#' @seealso \code{\link{predict.detrend.idframe}}, \code{\link[stats]{lm}}
diff --git a/man/detrend.idframe.Rd b/man/detrend.idframe.Rd
index 11293ec..b9facb7 100644
--- a/man/detrend.idframe.Rd
+++ b/man/detrend.idframe.Rd
@@ -23,7 +23,7 @@ Removes the linear function from the input and output matrices.
}
\examples{
data(cstr)
-fit <- detrend(cstr)
+fit <- detrend.idframe(cstr)
cstr_detrend <- predict(fit)
}
\seealso{