From a76221d87485029444c8e684022ca606a0c7e68d Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 18 Jan 2017 22:41:01 +0100 Subject: Update static docs using pkgdown - Add _pkgdown.yml for a structured function/data reference - Make seealso links active - Make mkinfit calls quiet - Use pkgdown branch from pull request hadley/pkgdown#229 to have topics ordered --- man/max_twa.Rd | 2 +- man/one_box.Rd | 4 ++-- man/sawtooth.Rd | 2 +- man/twa.Rd | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'man') diff --git a/man/max_twa.Rd b/man/max_twa.Rd index 13e7bbf..86cc174 100644 --- a/man/max_twa.Rd +++ b/man/max_twa.Rd @@ -15,5 +15,5 @@ max_twa(x, window = 21) The maximum time weighted average concentration for a moving window } \seealso{ -twa +\code{\link{twa}} } diff --git a/man/one_box.Rd b/man/one_box.Rd index 86440ce..0085f3f 100644 --- a/man/one_box.Rd +++ b/man/one_box.Rd @@ -33,13 +33,13 @@ plot(pred_0) # Use a fitted mkinfit model require(mkin) -fit <- mkinfit("FOMC", FOCUS_2006_C) +fit <- mkinfit("FOMC", FOCUS_2006_C, quiet = TRUE) pred_1 <- one_box(fit) plot(pred_1) # Use a model with more than one observed variable m_2 <- mkinmod(parent = mkinsub("SFO", "m1"), m1 = mkinsub("SFO")) -fit_2 <- mkinfit(m_2, FOCUS_2006_D) +fit_2 <- mkinfit(m_2, FOCUS_2006_D, quiet = TRUE) pred_2 <- one_box(fit_2) plot(pred_2) } diff --git a/man/sawtooth.Rd b/man/sawtooth.Rd index 4576c8b..d26c0bf 100644 --- a/man/sawtooth.Rd +++ b/man/sawtooth.Rd @@ -30,7 +30,7 @@ pred <- one_box(10) plot(sawtooth(pred, applications = applications)) m_2 <- mkinmod(parent = mkinsub("SFO", "m1"), m1 = mkinsub("SFO")) -fit_2 <- mkinfit(m_2, FOCUS_2006_D) +fit_2 <- mkinfit(m_2, FOCUS_2006_D, quiet = TRUE) pred_2 <- one_box(fit_2) pred_2_saw <- sawtooth(pred_2, 2, 7) plot(pred_2_saw, max_twa = 21, max_twa_var = "m1") diff --git a/man/twa.Rd b/man/twa.Rd index a6afa87..a3509cd 100644 --- a/man/twa.Rd +++ b/man/twa.Rd @@ -25,5 +25,5 @@ pred <- sawtooth(one_box(10), max_twa(pred) } \seealso{ -max_twa +\code{\link{max_twa}} } -- cgit v1.2.1