Learn R Programming

smerc (version 1.4.2)

print.tango: Print object of class tango.

Description

Print a tango object. If the crayon package is installed, then the results are printed in color.

Usage

# S3 method for tango
print(x, ..., digits = 2)

Arguments

x

An object of class tango.

...

Arguments passed on to base::print

digits

Number of significant digits to print.

Examples

Run this code
# NOT RUN {
data(nydf)
coords = as.matrix(nydf[,c("x", "y")])
w = dweights(coords, kappa = 1)
results = tango.test(nydf$cases, nydf$pop, w, nsim = 49)
results
# }

Run the code above in your browser using DataLab