diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/plot.one_box.Rd | 7 | ||||
-rw-r--r-- | man/sawtooth.Rd | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/man/plot.one_box.Rd b/man/plot.one_box.Rd index 7d30bd2..6245b4c 100644 --- a/man/plot.one_box.Rd +++ b/man/plot.one_box.Rd @@ -31,5 +31,10 @@ be shown if max_twa is not NULL.} Plot time series of decline data } \examples{ -plot(sawtooth(one_box(10), 3, 7), max_twa = 21) +fomc_fit <- mkinfit("FOMC", FOCUS_2006_C, quiet = TRUE) +fomc_pred <- one_box(fomc_fit) +plot(sawtooth(fomc_pred, 3, 7), max_twa = 21) +} +\seealso{ +\code{\link{sawtooth}} } diff --git a/man/sawtooth.Rd b/man/sawtooth.Rd index d26c0bf..e01a74d 100644 --- a/man/sawtooth.Rd +++ b/man/sawtooth.Rd @@ -12,7 +12,7 @@ sawtooth(x, n = 1, i = 365, applications = data.frame(time = seq(0, 0 + n \item{n}{The number of applications. If \code{applications} is specified, \code{n} is not used} -\item{i}{The interval between applications. If \code{applications} is specified, \code{i} +\item{i}{The interval between applications. If \code{applications} is specified, \code{i} is not used} \item{applications}{A data frame holding the application times in the first column and |