aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Kellner <ken@kenkellner.com>2024-01-21 17:05:18 -0500
committerKen Kellner <ken@kenkellner.com>2024-01-21 17:05:18 -0500
commit009a50d2a8c88e2060564644e983449b5f14a1bf (patch)
tree66819fdf6741a40f6b94c4bf3c278db693468814
parent92c8cc30b67e9e1c28d78fadde6b1e798f285751 (diff)
Updates for pkgdown site
-rw-r--r--.Rbuildignore3
-rw-r--r--DESCRIPTION3
-rw-r--r--README.md3
-rw-r--r--_pkgdown.yml19
-rw-r--r--pkgdown/extra.css5
5 files changed, 30 insertions, 3 deletions
diff --git a/.Rbuildignore b/.Rbuildignore
index bc1cb89..9157390 100644
--- a/.Rbuildignore
+++ b/.Rbuildignore
@@ -13,4 +13,5 @@ env.R
.travis.yml
^\.github$
Makefile
-docs/*
+^docs$
+^pkgdown$
diff --git a/DESCRIPTION b/DESCRIPTION
index 12a703d..729fb2a 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -20,6 +20,7 @@ Suggests: knitr, markdown, tinytest
SystemRequirements: JAGS (http://mcmc-jags.sourceforge.net)
Description: A set of wrappers around 'rjags' functions to run Bayesian analyses in 'JAGS' (specifically, via 'libjags'). A single function call can control adaptive, burn-in, and sampling MCMC phases, with MCMC chains run in sequence or in parallel. Posterior distributions are automatically summarized (with the ability to exclude some monitored nodes if desired) and functions are available to generate figures based on the posteriors (e.g., predictive check plots, traceplots). Function inputs, argument syntax, and output format are nearly identical to the 'R2WinBUGS'/'R2OpenBUGS' packages to allow easy switching between MCMC samplers.
License: GPL-3
-URL: https://github.com/kenkellner/jagsUI
+URL: https://kenkellner.com/jagsUI/
+BugReports: https://github.com/kenkellner/jagsUI/issues
NeedsCompilation: no
VignetteBuilder: knitr
diff --git a/README.md b/README.md
index b13bfdd..2fc56f2 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,10 @@
jagsUI
==========
-
+<!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/jagsUI)](https://cran.r-project.org/web/packages/jagsUI/index.html)
[![R build status](https://github.com/kenkellner/jagsUI/workflows/R-CMD-check/badge.svg)](https://github.com/kenkellner/jagsUI/actions)
+<!-- badges: end -->
This package runs `JAGS` (Just Another Gibbs Sampler) analyses from within `R`. It acts as a wrapper and alternative interface for the functions in the `rjags` package and adds some custom output and graphical options. It also makes running chains in parallel quick and easy.
diff --git a/_pkgdown.yml b/_pkgdown.yml
new file mode 100644
index 0000000..9b934ea
--- /dev/null
+++ b/_pkgdown.yml
@@ -0,0 +1,19 @@
+authors:
+ Ken Kellner:
+ href: https://kenkellner.com
+
+reference:
+ - title: Run JAGS
+ contents:
+ - autojags
+ - jags
+ - jags.basic
+ - update
+
+ - title: View output
+ contents:
+ - densityplot
+ - jags.View
+ - pp.check
+ - traceplot
+ - whiskerplot
diff --git a/pkgdown/extra.css b/pkgdown/extra.css
new file mode 100644
index 0000000..6c9a253
--- /dev/null
+++ b/pkgdown/extra.css
@@ -0,0 +1,5 @@
+body { font-family: 'helvetica', sans-serif; }
+a:link { color:#17547f; text-decoration: none;}
+a:visited { color:#17547f; text-decoration: none;}
+a:hover { color:#17547f; text-decoration: underline;}
+h1 { color:#990000; font-weight:bold }