Skip to content
Snippets Groups Projects
README.Rmd 3.35 KiB
Newer Older
Facundo Muñoz's avatar
Facundo Muñoz committed
---
output: github_document
---

Facundo Muñoz's avatar
Facundo Muñoz committed
<!-- badges: start -->
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
Facundo Muñoz's avatar
Facundo Muñoz committed
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/mapMCDA)](https://cran.r-project.org/package=mapMCDA)
[![UMR ASTRE R-universe](https://cirad-astre.r-universe.dev/badges/:name)](https://cirad-astre.r-universe.dev)
[![mapMCDA R-universe status badge](https://cirad-astre.r-universe.dev/badges/mapMCDA)](https://cirad-astre.r-universe.dev/mapMCDA)
[![Build status](https://forgemia.inra.fr/umr-astre/mapMCDA/badges/master/pipeline.svg)](https://forgemia.inra.fr/umr-astre/mapMCDA/pipelines)
[![Appveyor Build status](https://ci.appveyor.com/api/projects/status/5p751lpceeiy18kp?svg=true)](https://ci.appveyor.com/project/famuvie/mapmcda)
Facundo Muñoz's avatar
Facundo Muñoz committed
<!-- badges: end -->
Facundo Muñoz's avatar
Facundo Muñoz committed
# mapMCDA <img src="man/figures/logo.png" align="right" />
Facundo Muñoz's avatar
Facundo Muñoz committed

```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-"
)
```
  
Facundo Muñoz's avatar
Facundo Muñoz committed
![](man/figures/mapMCDA_overview.png)
Facundo Muñoz's avatar
Facundo Muñoz committed
`mapMCDA` helps producing __risk maps__ by weighting __risk factors__ using
__expert knowledge__.
Facundo Muñoz's avatar
Facundo Muñoz committed
The typical use case is the lack of (reliable) data about the
epidemics of a disease, but available information about well known
__risk factors__ (e.g. animal density, proximity to border, proximity
to water courses, etc.). 

In order to design a __stratified sampling__ or a __surveillance
campaign__, a preliminary risk map based on expert judgement is
Facundo Muñoz's avatar
Facundo Muñoz committed
required.

This package (and method) provides a systematic and guided approach
to build such maps.
Facundo Muñoz's avatar
Facundo Muñoz committed
![](man/figures/plot-risk-unit-1.png)


The package include a Graphical User Interface (Shiny) that helps
in processing and weighting risk factors.

```{r eval = FALSE}
library(mapMCDA)
mapMCDA_app()
Facundo Muñoz's avatar
Facundo Muñoz committed
![](man/figures/interface.png)
Facundo Muñoz's avatar
Facundo Muñoz committed
## Installing the package
Facundo Muñoz's avatar
Facundo Muñoz committed
`mapMCDA` is on its way to CRAN. In the meanwhile, install from 
our r-universe as follows
Facundo Muñoz's avatar
Facundo Muñoz committed

<!-- To install the current stable, CRAN version of the package, type: -->
<!-- ```{r install, eval = FALSE} -->
<!-- install.packages("mapMCDA") -->
<!-- ``` -->

Facundo Muñoz's avatar
Facundo Muñoz committed
<!-- To benefit from the latest features and bug fixes, install the development, version of the package using: -->
Facundo Muñoz's avatar
Facundo Muñoz committed
```{r install-gitlab, eval = FALSE}
Facundo Muñoz's avatar
Facundo Muñoz committed
if (!require("remotes")) {
  install.packages("remotes")
}
Facundo Muñoz's avatar
Facundo Muñoz committed
remotes::install_gitlab("umr-astre/mapMCDA", host = "forgemia.inra.fr")
Facundo Muñoz's avatar
Facundo Muñoz committed
```
-->

```{r install-r-universe, eval = FALSE}
# Install mapMCDA in R:
install.packages('mapMCDA', repos = c('https://cirad-astre.r-universe.dev', 'https://cloud.r-project.org'))

Facundo Muñoz's avatar
Facundo Muñoz committed
<!-- # Resources -->
Facundo Muñoz's avatar
Facundo Muñoz committed
<!-- ## Vignettes -->
Facundo Muñoz's avatar
Facundo Muñoz committed
<!-- An overview and examples of *mapMCDA* are provided in the vignettes: -->
Facundo Muñoz's avatar
Facundo Muñoz committed
<!-- ... -->
Facundo Muñoz's avatar
Facundo Muñoz committed
<!-- ## Websites -->
Facundo Muñoz's avatar
Facundo Muñoz committed
<!-- The following websites are available: -->
Facundo Muñoz's avatar
Facundo Muñoz committed
<!-- ... -->
Facundo Muñoz's avatar
Facundo Muñoz committed

## Getting help online

Facundo Muñoz's avatar
Facundo Muñoz committed
Bug reports and feature requests should be posted on *GitLab* using
the [*issue*](http://forgemia.inra.fr/umr-astre/mapMCDA/issues) system.
For support, reach out in the 
[mapMCDA mailing list](https://listes.cirad.fr/sympa/info/mapmcda).
Archives are of public access.

Facundo Muñoz's avatar
Facundo Muñoz committed
Contributions are welcome via **pull requests**.

Facundo Muñoz's avatar
Facundo Muñoz committed
Please note that this project is released with a [Contributor Code of
Conduct](CONDUCT.md). By participating in this project you agree to
abide by its terms.