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 May 1, 2019, 8:19 p.m.