Package: prevR 5.0.0.9000

prevR: 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>.

Authors:Joseph Larmarange [aut, cre]

prevR_5.0.0.9000.tar.gz
prevR_5.0.0.9000.zip(r-4.5)prevR_5.0.0.9000.zip(r-4.4)prevR_5.0.0.9000.zip(r-4.3)
prevR_5.0.0.9000.tgz(r-4.4-any)prevR_5.0.0.9000.tgz(r-4.3-any)
prevR_5.0.0.9000.tar.gz(r-4.5-noble)prevR_5.0.0.9000.tar.gz(r-4.4-noble)
prevR_5.0.0.9000.tgz(r-4.4-emscripten)prevR_5.0.0.9000.tgz(r-4.3-emscripten)
prevR.pdf |prevR.html
prevR/json (API)
NEWS

# Install 'prevR' in R:
install.packages('prevR', repos = c('https://larmarange.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/larmarange/prevr/issues

Datasets:
  • TMWorldBorders - Dataset "TM World Borders Dataset 0.3".
  • fdhs - Fictitious data generated by a DHS simulation.
  • fdhs.boundary - Fictitious data generated by a DHS simulation.
  • fdhs.clusters - Fictitious data generated by a DHS simulation.

On CRAN:

6.26 score 5 stars 46 scripts 317 downloads 8 mentions 33 exports 56 dependencies

Last updated 2 months agofrom:6e6a62916c. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 03 2024
R-4.5-winOKNov 03 2024
R-4.5-linuxOKNov 03 2024
R-4.4-winOKNov 03 2024
R-4.4-macOKNov 03 2024
R-4.3-winOKNov 03 2024
R-4.3-macOKNov 03 2024

Exports:as.prevRchangeprojcreate.boundarydirect.label_prevRexportidwimport.dhsis.prevRkdekrigemake.grid.prevRNoptimplotprevR.colors.blueprevR.colors.blue.inverseprevR.colors.grayprevR.colors.gray.inverseprevR.colors.greenprevR.colors.green.inverseprevR.colors.qgis.palprevR.colors.redprevR.colors.red.inverseprevR.demo.palprintquick.prevRringsshowst_filter_prevRsummarytheme_prevRtheme_prevR_lightupdate_prevRxyz2dataframe

Dependencies:abindclassclassIntclicolorspaceDBIdirectlabelsdotCall64e1071fansifarverfieldsFNNforeignggplot2gluegstatgtableintervalsisobandKernSmoothlabelinglatticelifecyclemagrittrmapsMASSMatrixmgcvmunsellnlmepillarpkgconfigproxyquadprogR6RColorBrewerRcpprlangs2scalessfsftimespspacetimespamstarstibbleunitsutf8vctrsviridisLitewithrwkxtszoo

Introduction to prevR

Rendered fromintro_prevR.Rmdusingknitr::rmarkdownon Nov 03 2024.

Last update: 2023-05-15
Started: 2019-05-06

Readme and manuals

Help Manual

Help pageTopics
Estimating regional trends of a prevalence from a DHS.prevR-package
Convert an object of class prevR into a data.frame.as.data.frame as.data.frame.prevR
Create an object of class prevR.as.prevR
Convert map projection of a object of class prevR.changeproj changeproj,prevR-method changeproj-methods
Provide national boundaries of a country.create.boundary
Direct label on a ggplot objectdirect.label_prevR
Export an object of class prevR.export export,prevR-method export-methods
Fictitious data generated by a DHS simulation.fdhs fdhs.boundary fdhs.clusters
Import DHS data.import.dhs
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'.is.prevR
Kernel density estimation for prevR object.kde kde,prevR-method kde-methods
Spatial interpolation (kriging and inverse distance weighting) for objects of class prevR.idw idw,ANY,prevR-method idw,prevR-method idw-methods krige krige,ANY,prevR-method krige,prevR-method krige-methods
Create a spatial grid from an object of class prevR.make.grid.prevR
Suggested optimal value for NNoptim
Plot object of class prevR.plot plot,prevR,missing-method plot,prevR-method plot-methods
Objects of class prevR.prevR-class
Continuous color palettes.prevR.colors prevR.colors.blue prevR.colors.blue.inverse prevR.colors.gray prevR.colors.gray.inverse prevR.colors.green prevR.colors.green.inverse prevR.colors.qgis.pal prevR.colors.red prevR.colors.red.inverse prevR.demo.pal
Summary of a prevR object.print print,prevR-method print-methods
Quick prevR analysis and plotquick.prevR
Calculation of rings of equal number of observation and/or equal radius.rings rings,prevR-method rings-methods
Summary of a prevR object.show show,prevR-method show-methods
Spatial filterst_filter_prevR
Detailed summary of the variables of a prevR objectprevRsummary summary summary,prevR-method summary-methods
prevR themes for ggplot2theme_prevR theme_prevR_light
Dataset "TM World Borders Dataset 0.3".TMWorldBorders
Update a prevR objectupdate_prevR
Convert a surface in xyz to a data frame.xyz2dataframe