From 3d4f6f8c582c19c38587ead305a1229ff069da63 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 19 Jan 2017 08:24:44 +0100 Subject: Switch sawtooth plotting example to FOMC as this it is claimed in the README that an mkinfit prediction is used. - Add another seealso link - Delete trailing whitespace --- man/plot.one_box.Rd | 7 ++++++- man/sawtooth.Rd | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'man') 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 -- cgit v1.2.1