From f84cda56aa2da2b104df7cba2c5f21c9fe69be40 Mon Sep 17 00:00:00 2001 From: "Win Cowger, PhD" Date: Tue, 3 Dec 2024 18:38:39 -0800 Subject: [PATCH] add dependency --- NAMESPACE | 1 + R/as_OpenSpecy.R | 1 + man/subtr_baseline.Rd | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NAMESPACE b/NAMESPACE index 44937bfe..733d3872 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -183,6 +183,7 @@ importFrom(signal,filter) importFrom(signal,sgolay) importFrom(stats,IQR) importFrom(stats,approx) +importFrom(stats,ave) importFrom(stats,cor) importFrom(stats,dist) importFrom(stats,lm) diff --git a/R/as_OpenSpecy.R b/R/as_OpenSpecy.R index 9ef85bdb..03de79c3 100644 --- a/R/as_OpenSpecy.R +++ b/R/as_OpenSpecy.R @@ -150,6 +150,7 @@ #' @importFrom data.table as.data.table #' @importFrom digest digest #' @importFrom utils sessionInfo +#' @importFrom stats ave #' @export as_OpenSpecy <- function(x, ...) { UseMethod("as_OpenSpecy") diff --git a/man/subtr_baseline.Rd b/man/subtr_baseline.Rd index c6f95938..8026e019 100644 --- a/man/subtr_baseline.Rd +++ b/man/subtr_baseline.Rd @@ -60,7 +60,7 @@ found with an 8th order polynomial.} \item{raw}{if \code{TRUE}, use raw and not orthogonal polynomials.} -\item{full}{logical, whether to use the full spectrum or to partition.} +\item{full}{logical, whether to use the full spectrum as in \code{"imodpoly"} or to partition as in \code{"smodpoly"}.} \item{remove_peaks}{logical, whether to remove peak regions during first iteration.}