Fit covariance-distance curve

covar_shape(data)

Arguments

data

dataframe with, x, y, and z

Value

list including rhosq and range

Examples

library(habtools)
raster <- raster::aggregate(horseshoe, 60)
data <- raster::rasterToPoints(raster)
covar_shape(data)
#> Joining, by = "id"
#> Joining, by = "id2"

#> $rhosq
#> [1] 0.1400247
#> 
#> $range
#> [1] 0.611
#>