Description Usage Arguments Value Examples
Costbased Ripley's K and L functions
1  cbK(loc, cs, directions = 8)

loc 
SpatialPoins* object with locations 
cs 
raster object representing the cost surface in
variable 
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

A list with elements:
dm
distance matrix
mds
the MDS fitted object
loc
the MDS locations as a point pattern
K
Ripley's K function
env_K
a Monte Carlo envelope for the K estimate
L
the L function
env_L
a Monte Carlo envelope for the L function
eucl
a list with the same objects for the Euclidean distance
1 2 3 4 5  phase1 < cbK(
loc = roman_settlements
cs = tortosa_cs,
directions = 4
)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.