summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--R/nonparam.R6
-rw-r--r--man/plot.idframe.Rd3
-rw-r--r--man/spa.Rd8
3 files changed, 16 insertions, 1 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)
diff --git a/man/plot.idframe.Rd b/man/plot.idframe.Rd
index f9c6a19..9d2eb09 100644
--- a/man/plot.idframe.Rd
+++ b/man/plot.idframe.Rd
@@ -4,7 +4,8 @@
\alias{plot.idframe}
\title{Plotting idframe objects}
\usage{
-\method{plot}{idframe}(object, ...)
+\method{plot}{idframe}(object, par = list(mar = c(3, 4, 3, 2)),
+ col = "steelblue", ...)
}
\arguments{
\item{object}{an object of class \code{idframe}}
diff --git a/man/spa.Rd b/man/spa.Rd
index f1ef14b..96fcb02 100644
--- a/man/spa.Rd
+++ b/man/spa.Rd
@@ -6,6 +6,14 @@
\usage{
spa(data, npad = 255)
}
+\arguments{
+\item{data}{an \code{idframe} object}
+
+\item{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:)}
+}
\description{
Estimates Frequency Response with fixed frequency resolution using
spectral analysis