diff options
-rw-r--r-- | R/nonparam.R | 6 | ||||
-rw-r--r-- | man/plot.idframe.Rd | 3 | ||||
-rw-r--r-- | man/spa.Rd | 8 |
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}} @@ -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 |