R/print.hotspots.R

Defines functions print.hotspots

Documented in print.hotspots

print.hotspots <-
function(x, ...) {
ty <- "hot spot"
if (!is.null(x$u)) ty <- "outlier"
if (!is.null(x$positive.cut)) {
	cat(paste(ty, "cutoff (positive): \n"))
	print(x$positive.cut) }
if (!is.null(x$negative.cut)) {
	cat(paste(ty, "cutoff (negative): \n"))
	print(x$negative.cut) }}

Try the hotspots package in your browser

Any scripts or data that you put into this service are public.

hotspots documentation built on April 4, 2025, 2:21 a.m.