print {SpatialExtremes}R Documentation

Printing objects of class “pspline”

Description

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

Usage

## S3 method for class 'pspline':
print(x, ...)

Arguments

x An object of class ``pspline''. Most often, x is the output of the rbpspline function.
... Other options to be passed to the print function.

Value

Print several information on screen.

Author(s)

Mathieu Ribatet

Examples

n <- 200
x <- runif(n)
fun <- function(x) sin(3 * pi * x)
y <- fun(x) + rnorm(n, 0, sqrt(0.4))
knots <- quantile(x, prob = 1:31 / 32)
fitted <- rbpspline(y, x, knots = knots, degree = 3)
fitted

[Package SpatialExtremes version 1.1-1 Index]