sparrpowR package is a suite of
R functions to calculate the statistical power to detect clusters using the kernel-based spatial relative risk function that is estimated using the sparr package. Basic visualization is also supported.
To install the release version from CRAN:
To install the development version from GitHub:
spatial_powerMain function. Compute the statistical power of a spatial relative risk function using randomly generated data.
spatial_dataGenerate random bivariate data for a spatial relative risk function.
jitter_powerCompute the statistical power of a spatial relative risk function using previously collected data.
spatial_plotsEasily make multiple plots from
jitter_power, calculates various multiple testing corrections for the alpha level.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.