prevR v3.4.0


Monthly downloads



Estimating Regional Trends of a Prevalence from a DHS

Spatial estimation of a prevalence surface or a relative risks surface, using data from a Demographic and Health Survey (DHS) or an analog survey, see Larmarange et al. (2011) <doi:10.4000/cybergeo.24606>.

Functions in prevR

Name Description
direct.label_prevR Direct label on a ggplot object
export,prevR-method Export an object of class prevR. Test if a point falls within a given polygon.
prevR-class Objects of class prevR.
xyz2dataframe Convert a surface in xyz to a data frame.
TMWorldBorders Dataset "TM World Borders Dataset 0.3".
as.SpatialGrid,prevR-method Create a spatial grid from an object of class prevR.
fdhs Fictitious data generated by a DHS simulation.
import.dhs Import DHS data.
changeproj,prevR-method Convert map projection of a object of class prevR.
print,prevR-method Summary of a prevR object. Convert an object of class prevR into a data.frame.
as.prevR Create an object of class prevR.
is.prevR Test if an object is of class prevR. This function test if the class of an object is prevR. It could be used to test the slot rings or the slot boundary.
create.boundary Provide national boundaries of a country.
prevR-package Estimating regional trends of a prevalence from a DHS.
quick.prevR Quick prevR analysis and plot
kde,prevR-method Kernel density estimation for prevR object.
rings,prevR-method Calculation of rings of equal number of observation and/or equal radius.
prevR.colors Continuous color palettes.
summary,prevR-method Detailed summary of the variables of a prevR object
show,prevR-method Summary of a prevR object.
theme_prevR prevR themes for ggplot2
NA.outside.SpatialPolygons Affect NA value to points located outside a polygon.
Noptim Suggested optimal value for N
krige,ANY,prevR-method Spatial interpolation (kriging and inverse distance weighting) for objects of class prevR.
plot,prevR,missing-method Plot object of class prevR.
No Results!

Vignettes of prevR

No Results!

Last month downloads


Type Package
Acknowledgements funding from ANRS and IRD, and technical support from LYSIS (
License CeCILL
LazyLoad yes
LazyData yes
Encoding UTF-8
Collate 'prevR-package.r' 'setClass.prevR.r' 'is.prevR.r' 'as.prevR.r' 'onAttach.r' 'isInputOk.prevR.r' 'changeproj.prevR.r' 'colors.prevR.r' '' 'plot.prevR.r' 'show.prevR.r' 'print.prevR.r' 'summary.prevR.r' 'rings.prevR.r' 'as.SpatialGrid.prevR.r' 'create.boundary.prevR.r' 'export.prevR.r' 'import.dhs.prevR.r' '' 'NA.outside.SpatialPolygons.prevR.r' 'xyz2dataframe.prevR.r' 'init.exp.model.variogram.r' 'eyefit.prevR.r' 'krige.prevR.r' 'kde.prevR.r' 'Noptim.r' 'theme_prevR.r' 'direct.label_prevR.r' 'quick.prevR.r'
VignetteBuilder knitr
RoxygenNote 6.1.1
NeedsCompilation no
Packaged 2019-05-06 19:05:15 UTC; Larmarange
Repository CRAN
Date/Publication 2019-05-06 20:51:23 UTC

Include our badge in your README