prevR v3.4.1


Monthly downloads



Estimating Regional Trends of a Prevalence from a DHS and Similar Surveys

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
TMWorldBorders Dataset "TM World Borders Dataset 0.3".
Noptim Suggested optimal value for N Convert an object of class prevR into a data.frame.
as.prevR Create an object of class prevR.
NA.outside.SpatialPolygons Affect NA value to points located outside a polygon.
as.SpatialGrid,prevR-method Create a spatial grid from an object of class prevR.
changeproj,prevR-method Convert map projection of a object of class prevR.
export,prevR-method Export an object of class prevR.
create.boundary Provide national boundaries of a country.
fdhs Fictitious data generated by a DHS simulation.
import.dhs Import DHS data.
prevR.colors Continuous color palettes.
show,prevR-method Summary of a prevR object.
prevR-package Estimating regional trends of a prevalence from a DHS.
xyz2dataframe Convert a surface in xyz to a data frame.
summary,prevR-method Detailed summary of the variables of a prevR object
theme_prevR prevR themes for ggplot2
kde,prevR-method Kernel density estimation for prevR object.
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.
rings,prevR-method Calculation of rings of equal number of observation and/or equal radius.
krige,ANY,prevR-method Spatial interpolation (kriging and inverse distance weighting) for objects of class prevR.
print,prevR-method Summary of a prevR object.
plot,prevR,missing-method Plot object of class prevR.
quick.prevR Quick prevR analysis and plot
prevR-class Objects of class prevR. Test if a point falls within a given polygon.
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 7.1.1
NeedsCompilation no
Packaged 2020-08-28 09:41:33 UTC; josep
Repository CRAN
Date/Publication 2020-08-28 12:20:03 UTC

Include our badge in your README