Learn R Programming

spatgeom (version 0.3.0)

print.spatgeom: print a spatgeom object

Description

Print method for objects of class spatgeom.

Usage

# S3 method for spatgeom
print(x, return_table = FALSE, ...)

Value

Print the estimate given by spatgeom.

Arguments

x

an object of class spatgeom

return_table

if TRUE, returns a data frame with the estimated values. Otherwise, print the data frame in console. Defaults to FALSE

...

further arguments passed to the plot function

Examples

Run this code

xy <- donut_data(n = 30, a = -1, b = 1, theta = 2 * pi)

estimation <- spatgeom(y = xy[, 1], x = xy[, -1])

print(estimation)

Run the code above in your browser using DataLab