prevR v3.3


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.

Functions in prevR

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

Last month downloads


Type Package
Date 2016-02-23
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'
RoxygenNote 5.0.1
NeedsCompilation no
Packaged 2016-02-23 18:10:11 UTC; LARMARANGE Joseph
Repository CRAN
Date/Publication 2016-02-23 23:05:51

Include our badge in your README