Data imort

Functions to create a prevR object and to import data

as.prevR()

Create an object of class prevR.

update_prevR()

Update a prevR object

prevR-class

Objects of class prevR.

import.dhs()

Import DHS data.

create.boundary()

Provide national boundaries of a country.

prevR-package

Estimating regional trends of a prevalence from a DHS.

Description

print(<prevR>)

Summary of a prevR object.

show(<prevR>)

Summary of a prevR object.

plot(<prevR>,<missing>)

Plot object of class prevR.

summary(<prevR>)

Detailed summary of the variables of a 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.

Manipulation

as.data.frame(<prevR>)

Convert an object of class prevR into a data.frame.

changeproj(<prevR>)

Convert map projection of a object of class prevR.

Spatial interpolation

quick.prevR()

Quick prevR analysis and plot

rings(<prevR>)

Calculation of rings of equal number of observation and/or equal radius.

kde(<prevR>)

Kernel density estimation for prevR object.

krige(<ANY>,<prevR>) idw(<ANY>,<prevR>)

Spatial interpolation (kriging and inverse distance weighting) for objects of class prevR.

Noptim()

Suggested optimal value for N

Export

export(<prevR>)

Export an object of class prevR.

Dataset for examples

fdhs fdhs.boundary fdhs.clusters

Fictitious data generated by a DHS simulation.

Helpers

prevR.colors.blue() prevR.colors.blue.inverse() prevR.colors.gray() prevR.colors.gray.inverse() prevR.colors.green() prevR.colors.green.inverse() prevR.colors.red() prevR.colors.red.inverse() prevR.demo.pal() prevR.colors.qgis.pal()

Continuous color palettes.

theme_prevR() theme_prevR_light()

prevR themes for ggplot2

make.grid.prevR()

Create a spatial grid from an object of class prevR.

st_filter_prevR()

Spatial filter

direct.label_prevR()

Direct label on a ggplot object

TMWorldBorders

Dataset "TM World Borders Dataset 0.3".

xyz2dataframe()

Convert a surface in xyz to a data frame.