# NOT RUN {
#r <- raster::raster(nrow=50, ncol=50, xmn=0, xmx=50, ymn=0, ymx=50, crs='+proj=utm')
#r[] <- stats::runif(1:length(r))
#slope_cs <- create_slope_cs(r, cost_function = 'tobler')
#locs <- sp::spsample(as(raster::extent(r), 'SpatialPolygons'),n=1,'random')
#lcp_network <- create_banded_lcps(cost_surface = final_cost_cs, location = locs, min_distance = 20,
#max_distance = 50, radial_points = 10, cost_distance = FALSE, parallel = FALSE)
# }
Run the code above in your browser using DataLab