Learn R Programming

quadtree (version 0.1.14)

summary.LcpFinder: Show a summary of a LcpFinder

Description

Prints out information about the LcpFinder. Information shown is:

  • class of object

  • start point

  • search limits

  • number of paths found

Usage

# S4 method for LcpFinder
summary(object)

# S4 method for LcpFinder show(object)

Value

no return value

Arguments

object

a LcpFinder

Examples

Run this code
library(quadtree)
habitat <- terra::rast(system.file("extdata", "habitat.tif", package="quadtree"))

qt <- quadtree(habitat, .1)

start_point <- c(6989, 34007)
end_point <- c(33015, 38162)

lcpf <- lcp_finder(qt, start_point)
lcp <- find_lcp(lcpf, end_point)

summary(lcpf)

Run the code above in your browser using DataLab