Learn R Programming

SpatialExtremes (version 1.0-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
require(RandomFields)

##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
ms0 <- MaxStableRF(locations[,1], locations[,2], grid=FALSE, model="wh",
                   param=c(0,1,0,3, .5), maxstable="extr",
                   n = 30)
ms1 <- t(ms0)
fit <- fitmaxstab(ms1, locations, "schlather")
fit

Run the code above in your browser using DataLab