sWeights: Proportion of the area of a circle on a polygon's area

Description Usage Arguments Value See Also Examples

Description

Proportion of the area of a circle on a polygon's area

Usage

1

Arguments

x

center of the circle

h

bandwidth scalar

polygon

polygon on which data points lie

Value

Returns the proportion of the area of a circle of center x and radius 1.759*h on the polygon's area

See Also

sCircle which this function wraps

Examples

1
2
3
pol_coordinates <- matrix(c(0, 0, 1, 1, 0, 0, 1, 1, 0, 0), ncol = 2)
pol <- as(pol_coordinates, "gpc.poly")
sWeights(x = c(0, 0), h = 1/1.759, polygon = pol)

ripleyCorr/kdeborder documentation built on May 26, 2019, 1:33 a.m.