summaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
Diffstat (limited to 'R')
-rw-r--r--R/nonparam.R6
1 files changed, 6 insertions, 0 deletions
diff --git a/R/nonparam.R b/R/nonparam.R
index d7a6162..1450110 100644
--- a/R/nonparam.R
+++ b/R/nonparam.R
@@ -92,6 +92,12 @@ step <- function(model){
#' Estimates Frequency Response with fixed frequency resolution using
#' spectral analysis
#'
+#' @param data an \code{idframe} object
+#' @param npad an integer representing the total length of each time series
+#' to analyze after padding with zeros. This argument allows the user to
+#' control the spectral resolution of the SDF estimates: the normalized
+#' frequency interval is deltaf=1/npad. (Default:)
+#'
#' @export
spa <- function(data,npad=255){
require(sapa)