From 2c3b5027987486d0040501a3c254e106172eb5dc Mon Sep 17 00:00:00 2001 From: Suraj Yerramilli Date: Fri, 6 Jan 2017 17:26:19 -0600 Subject: S3 method consistency part-2 --- man/impulseest.Rd | 2 +- man/impulseplot.Rd | 21 +++++++++++++++++++++ man/plot.idframe.Rd | 4 +++- man/plot.idfrd.Rd | 4 +++- man/plot.impulseest.Rd | 21 --------------------- 5 files changed, 28 insertions(+), 24 deletions(-) create mode 100644 man/impulseplot.Rd delete mode 100644 man/plot.impulseest.Rd (limited to 'man') diff --git a/man/impulseest.Rd b/man/impulseest.Rd index 4852d2c..4247a0f 100644 --- a/man/impulseest.Rd +++ b/man/impulseest.Rd @@ -33,7 +33,7 @@ uk <- rnorm(1000,1) yk <- filter (uk,c(0.9,-0.4),method="recursive") + rnorm(1000,1) data <- idframe(output=data.frame(yk),input=data.frame(uk)) fit <- impulseest(data) -plot(fit) +impulseplot(fit) } \references{ diff --git a/man/impulseplot.Rd b/man/impulseplot.Rd new file mode 100644 index 0000000..0e7ced3 --- /dev/null +++ b/man/impulseplot.Rd @@ -0,0 +1,21 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/nonparam.R +\name{impulseplot} +\alias{impulseplot} +\title{Impulse Response Plots} +\usage{ +impulseplot(model, sd = 2) +} +\arguments{ +\item{model}{an object of class \code{impulseest}} + +\item{sd}{standard deviation of the confidence region (Default: \code{2})} +} +\description{ +Plots the estimated IR coefficients along with the significance limits +at each lag. +} +\seealso{ +\code{\link{impulseest}},\code{\link{step}} +} + diff --git a/man/plot.idframe.Rd b/man/plot.idframe.Rd index 2a34888..2e7948d 100644 --- a/man/plot.idframe.Rd +++ b/man/plot.idframe.Rd @@ -5,7 +5,7 @@ \title{Plotting idframe objects} \usage{ \method{plot}{idframe}(x, col = "steelblue", lwd = 1, main = NULL, - size = 12) + size = 12, ...) } \arguments{ \item{x}{an \code{idframe} object} @@ -17,6 +17,8 @@ \item{main}{the plot title. (Default = \code{NULL})} \item{size}{text size (Default = \code{12})} + +\item{\ldots}{additional arguments} } \description{ Plotting method for objects inherting from class \code{idframe} diff --git a/man/plot.idfrd.Rd b/man/plot.idfrd.Rd index d8f85af..435f6d7 100644 --- a/man/plot.idfrd.Rd +++ b/man/plot.idfrd.Rd @@ -4,7 +4,7 @@ \alias{plot.idfrd} \title{Plotting idfrd objects} \usage{ -\method{plot}{idfrd}(x, col = "steelblue", lwd = 1) +\method{plot}{idfrd}(x, col = "steelblue", lwd = 1, ...) } \arguments{ \item{x}{An object of class \code{idframe}} @@ -13,6 +13,8 @@ steelblue"})} \item{lwd}{the line width, a positive number, defaulting to 1} + +\item{\ldots}{additional arguments} } \description{ Generates the bode plot of the given frequency response data. It uses the diff --git a/man/plot.impulseest.Rd b/man/plot.impulseest.Rd deleted file mode 100644 index ac32797..0000000 --- a/man/plot.impulseest.Rd +++ /dev/null @@ -1,21 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/nonparam.R -\name{plot.impulseest} -\alias{plot.impulseest} -\title{Impulse Response Plots} -\usage{ -\method{plot}{impulseest}(model, sd = 2) -} -\arguments{ -\item{model}{an object of class \code{impulseest}} - -\item{sd}{standard deviation of the confidence region (Default: \code{2})} -} -\description{ -Plots the estimated IR coefficients along with the significance limits -at each lag. -} -\seealso{ -\code{\link{impulseest}},\code{\link{step}} -} - -- cgit