% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/print.R
\name{print.treespatial_scan}
\alias{print.treespatial_scan}
\title{Print Method for treespatial_scan Objects}
\usage{
\method{print}{treespatial_scan}(x, max_show = 10L, ...)
}
\arguments{
\item{x}{An object of class \code{"treespatial_scan"}.}

\item{max_show}{Integer. Maximum number of leaf IDs and region
IDs to display in full before truncating with "... and N more".
The default of \code{10L} keeps console output compact when the
most likely cluster spans many leaves (for example, when the
root node maximises the likelihood ratio for an aggregated
denominator) or many regions; set \code{max_show = -1L} to
print every value. Mirrors the convention used by \pkg{tibble}.}

\item{...}{Further arguments passed to or from other methods.}
}
\value{
Invisibly returns \code{x} (the input object of class
  \code{"treespatial_scan"}), unchanged. Called for the side
  effect of printing a human-readable summary of the scan result
  to the console: the total population, the number of regions
  and tree nodes, the number of Monte Carlo simulations, and the
  contents of the most likely cluster (tree node, leaf IDs,
  region IDs, cases, expected count, population, relative risk,
  log-likelihood ratio, and p-value).
}
\description{
Print Method for treespatial_scan Objects
}
