https://github.com/boydorr/sparkjags
This package contains JAGS models and associated functionality for use with SpARK project data
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.1%) to scientific vocabulary
Repository
This package contains JAGS models and associated functionality for use with SpARK project data
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
SpARKjags
Table of contents
General info
This package contains JAGS models and associated functionality for use with SpARK project data.
Setup
To install this package in R, run:
R
install.packages("devtools")
devtools::install_github("soniamitchell/SpARKjags")
Note that you must have access to the SpARK project datasets for any of this code to work.
How to
List all of the models included in the SpARKjags package
R
list_models()
Run one of the SpARKjags models
```R
Generate JAGS input dataset
data <- jags_data(classification = "Carbapenem", categories = "human", pathogen = "Klebsiella pneumoniae", removeQuinPen = T)
Run the model
path <- runSpARKjagsmodel(data = data,
SpARKjagsmodel = "individualmodels/h.R",
saveto = "results/individualmodels")
``
TherunSpARKjagsmodel()` function will return the path of the model output.
Read model output into R
R
results <- get_model(path = path)
Owner
- Name: Boyd Orr
- Login: boydorr
- Kind: organization
- Location: Glasgow, UK
- Website: http://www.gla.ac.uk/boydorr
- Repositories: 28
- Profile: https://github.com/boydorr
Boyd Orr Centre for Population and Ecosystem Health, University of Glasgow
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/cache v1 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc master composite
- r-lib/actions/setup-r master composite
- actions/cache v2 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc master composite
- r-lib/actions/setup-r master composite
- R >= 3.5 depends
- GGally * imports
- SpARK * imports
- assertthat * imports
- coda * imports
- dplyr * imports
- egg * imports
- flextable * imports
- forcats * imports
- ggmcmc * imports
- ggplot2 * imports
- ggthemes * imports
- loo * imports
- lubridate * imports
- purrr * imports
- reshape2 * imports
- rjags * imports
- runjags * imports
- stats * imports
- tidyr * imports
- testthat * suggests