summary.LcpFinder: Show a summary of a 'LcpFinder'

summary.LcpFinderR Documentation

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 signature 'LcpFinder'
summary(object)

## S4 method for signature 'LcpFinder'
show(object)

Arguments

object

a LcpFinder

Value

no return value

Examples

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)

quadtree documentation built on Aug. 29, 2023, 5:11 p.m.