Skip to content
GeMTC R package: model generation for network meta-analysis
Branch: develop
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gemtc Register native code (fixed #48) May 21, 2018
.gitignore More ignore Feb 24, 2016
.travis.yml Use APT addon May 20, 2018
LICENSE.txt Explicitly license under GPLv3 May 28, 2013
Makefile Run validation tests with power-adjustment likelihoods Jan 13, 2016
README.md Add Travis CI May 20, 2018
afstroke-data.csv
afstroke-treatments.csv
classes-example.R Separate arg to mtc.network for study-level covariates Dec 4, 2015
deviance-example.R Adapt deviance-example for latest gemtc May 26, 2016
run-tests.R Run validation tests with power-adjustment likelihoods Jan 13, 2016
run-tests.sh Run validation tests with power-adjustment likelihoods Jan 13, 2016

README.md

GeMTC R package

Build Status Build Status (develop)

GeMTC is an R package for Network Meta-Analysis (also know as Mixed Treatment Comparison, MTC) model generation.

Building

Use R CMD build gemtc to build the R package. The Makefile offers a number of targets for convenience, but is entirely optional. Use make install to both build and install the package.

You will need a working installation of rjags, which in turn requires a working installation of JAGS.

Testing

The testthat package is used for testing. Tests reside in the tests/testthat directory. There are three levels of tests:

  • unit: unit tests - these test relatively isolated pieces of functionality and should be fast to run. They will be run by make test or R CMD check.

  • regress: regression tests exercise full code paths, and typically run all code that an analyst would run on a given dataset. They aim to catch bugs in existing functionality due to the introduction of new code. They should not take very long to run, and do not aim to produce reasonable posterior estimates. These can be run using make regress.

  • validate: valition tests verify the posterior summaries obtained by the R package against results that were previously (manually) checked against results published in the literature. They typically take very long to run, and are probabilistic in nature. Many individual comparisons are made, so a couple of failures over the entire test suite are to be expected. However, these should not be systematic. These tests can be run using make validate.

License

GeMTC is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GeMTC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GeMTC.  If not, see <http://www.gnu.org/licenses/>.

See LICENSE.txt for details.

You can’t perform that action at this time.