Learn R Programming

SpatialExtremes (version 1.3-0)

print: Printing objects of class ``maxstab''

Description

A method for printing object of class ``maxstab''.

Usage

## S3 method for class 'maxstab':
print(x, digits = max(3, getOption("digits") - 3),
...)

Arguments

x
An object of class ``maxstab''. Most often, x is the output of the fitmaxstab function.
digits
The number of digits to be printed.
...
Other options to be passed to the print function.

Value

  • Print several information on screen.

Examples

Run this code
##Define the coordinates of each location
n.site <- 30
locations <- matrix(5 + rnorm(2*n.site, sd = sqrt(2)), ncol = 2)

##Simulate a max-stable process - with unit Frechet margins
data <- rmaxstab(30, locations, cov.mod = "whitmat", sill = 1, range = 3,
smooth = 0.5)

fit <- fitmaxstab(data, locations, "whitmat")
fit

Run the code above in your browser using DataLab