Learn R Programming

⚠️There's a newer version (2.3-16) of this package.Take me there.

sparr

This is a place-holder repository for the sparr package, for estimating relative-risk for spatial (and in future, spatio-temporal) risk surfaces.

It is place-holder in that the maintainer does not (currently) use git, while another contributer (@jmarshallnz) thinks this is silly.

Installation

In the future this README will be of some use. For now, you can play with the (old) version of with the package that is on CRAN. Version 2 will be on CRAN shortly, perhaps once I'm done updating the build system.

If you wish to install it in the meantime, you can use devtools

devtools::install_github('jmarshallnz/sparr')

Usage

TODO: Write something here

Copy Link

Version

Install

install.packages('sparr')

Monthly Downloads

908

Version

2.1-12

License

GPL (>= 2)

Maintainer

Tilman Davies

Last Published

August 27th, 2017

Functions in sparr (2.1-12)

LSCV.risk

Jointly optimal bandwidth selection for the spatial relative risk function
print.bivden

Printing sparr objects
risk

Spatial relative risk/density ratio
LIK.density

Cross-validation bandwidths for spatial kernel density estimates
BOOT.density

Bootstrap bandwidth for a spatial kernel density estimate
OS

Oversmoothing (OS) bandwidth selector
available.h0

Available global bandwidth range
multiscale.density

Multi-scale adaptive kernel density/intensity estimation
multiscale.slice

Slicing a multi-scale density/intensity object
tol.contour

Plot tolerance contours
tolerance

Tolerance by p-value surfaces
BOOT.spattemp

Bootstrap bandwidths for a spatiotemporal kernel density estimate
fft2d

2D fast-Fourier wrapper around 'fftwtools' or 'stats' package
LIK.spattemp

Cross-validation bandwidths for spatiotemporal kernel density estimates
NS

Normal scale (NS) bandwidth selector
fmd

Veterinary foot-and-mouth disease outbreak data
spattemp.slice

Slicing a spatiotemporal object
summary.bivden

Summarising sparr objects
sparr-internal

Internal sparr functions
sparr-package

The sparr Package: Spatial and Spatiotemporal Relative Risk
spattemp.density

Spatiotemporal kernel density estimation
spattemp.risk

Spatiotemporal relative risk/density ratio
bivariate.density

Bivariate kernel density/intensity estimation
burk

Burkitt's lymphoma in Uganda
pbc

Primary biliary cirrhosis data
plot.bivden

Plotting sparr objects