Description Usage Arguments Value Author(s) References See Also Examples

`spdensity`

computes a kernel smoothed spatial
density function from a point pattern. This function is
basically a wrapper for `density.ppp`

.
The `density.ppp`

function computes
the spatial intensity of a point pattern; the `spdensity`

function scales the intensity to produce a true spatial density.

1 2 3 4 |

`x` |
Point pattern (object of class |

`sigma` |
Standard deviation of isotropic smoothing kernel.
Either a numerical value, or a function that computes an
appropriate value of |

`...` |
Additional arguments passed to |

`weights` |
Optional weights to be attached to the points.
A numeric vector, numeric matrix, an |

`edge` |
Logical value indicating whether to apply edge correction. |

`varcov` |
Variance-covariance matrix of anisotropic smoothing kernel.
Incompatible with |

`at` |
String specifying whether to compute the intensity values
at a grid of pixel locations ( |

`leaveoneout` |
Logical value indicating whether to compute a leave-one-out
estimator. Applicable only when |

`adjust` |
Optional. Adjustment factor for the smoothing parameter. |

`diggle` |
Logical. If |

`kernel` |
The smoothing kernel.
A character string specifying the smoothing kernel
(current options are |

`scalekernel` |
Logical value.
If |

`positive` |
Logical value indicating whether to force all density values to
be positive numbers. Default is |

`verbose` |
Logical value indicating whether to issue warnings about numerical problems and conditions. |

This function produces the spatial density of `x`

as an object of class `im`

from the `spatstat`

package.

Joshua French

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

1 2 |

smacpod documentation built on May 14, 2018, 5:07 p.m.

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.