Skip to content

Commit

Permalink
fixes after changes to detect jags
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanCarbone committed Jun 17, 2024
1 parent 48c6c5b commit b37e9f1
Show file tree
Hide file tree
Showing 10 changed files with 4,121 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ error_reproduction_scripts

# To reduce repo size
vignettes/vignette_files
vignettes/vignette_cache
vignettes/vignette_cache
inst/doc/BRCindicators_files
9 changes: 3 additions & 6 deletions R/bayesian_meta_analysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@
#' A generic method for estimating and smoothing multispecies biodiversity indices, robust to intermittent data.
#' \emph{Journal of Agricultural Biological and Environmental Statistics}, in revision.
#' @export
#' @examples
#'
#' # Only run if there is a JAGS installation
#' if(suppressWarnings(runjags::testjags(silent = TRUE)$JAGS.found)){
#'
#' @examples
#' \dontrun{
#' # Create some example data in the format required
#' data <- data.frame(species = rep(letters, each = 50),
#' year = rep(1:50, length(letters)),
Expand All @@ -60,8 +58,7 @@
#' # Plot the resulting indicator
#' plot_indicator(indicator = bma_indicator[,'Index.Mprime'],
#' CIs = bma_indicator[,c(3,4)])
#'
#' }
#' }

bma <- function (data,
plot = TRUE,
Expand Down
353 changes: 348 additions & 5 deletions benchmarking/package_notes_and_benchmarking.Rmd

Large diffs are not rendered by default.

840 changes: 840 additions & 0 deletions inst/doc/BRCindicators.html

Large diffs are not rendered by default.

840 changes: 840 additions & 0 deletions inst/doc/BRCindicators.html.orig

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions man/bma.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

521 changes: 521 additions & 0 deletions vignettes/BRCindicators.Rmd

Large diffs are not rendered by default.

645 changes: 645 additions & 0 deletions vignettes/BRCindicators.html

Large diffs are not rendered by default.

Loading

0 comments on commit b37e9f1

Please sign in to comment.