Description Usage Arguments Value Author(s) References Examples

`logrr.test`

performs a global test of clustering
for comparing cases and controls using the log ratio of
spatial densities based on the method of Kelsall and
Diggle (1995).

1 | ```
logrr.test(x)
``` |

`x` |
An |

A list providing the observed test statistic
(`islogrr`

) and the estimated p-value
(`pvalue`

).

Joshua French

Waller, L.A. and Gotway, C.A. (2005). Applied Spatial Statistics for Public Health Data. Hoboken, NJ: Wiley.

Kelsall, Julia E., and Peter J. Diggle. "Non-parametric estimation of spatial variation in relative risk." Statistics in Medicine 14.21-22 (1995): 2335-2342.

1 2 3 | ```
data(grave)
logrrenv = logrr(grave, nsim = 9)
logrr.test(logrrenv)
``` |

```
[1] "The p-value for the global test is 0.2"
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.