aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2017-01-19 08:24:44 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2017-01-19 08:24:44 +0100
commit3d4f6f8c582c19c38587ead305a1229ff069da63 (patch)
tree2585a4c150aae1fc42aac98636b02515733f5a19 /man
parent9b5faa8b8475bdd7624c58b07d45d28d42a47a2e (diff)
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
Diffstat (limited to 'man')
-rw-r--r--man/plot.one_box.Rd7
-rw-r--r--man/sawtooth.Rd2
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

Contact - Imprint