cbK: Cost-based Ripley's K and L functions

Description Usage Arguments Value Examples

View source: R/cbK.R

Description

Cost-based Ripley's K and L functions

Usage

1
cbK(loc, cs, directions = 8)

Arguments

loc

SpatialPoins* object with locations

cs

raster object representing the cost surface in variable band1.

directions

Number of directions in which cells are connected: 4 (rook's case), 8 (queen's case), 16 (knight or king's case) or other (see adjacent)

Value

A list with elements:

Examples

1
2
3
4
5
  phase1 <- cbK(
    loc = roman_settlements
    cs  = tortosa_cs,
    directions = 4
  )

famuvie/cbK documentation built on May 13, 2017, 11:12 p.m.