Learn R Programming

madrat (version 3.15.6)

toolTimeSpline: toolTimeSpline

Description

Smoothing a data set by replacing its values by its spline approximation using the given degrees of freedom.

Usage

toolTimeSpline(x, dof = NULL)

Value

approximated data in magclass format

Arguments

x

magclass object that should be smoothed via a spline approximation

dof

degrees of freedom per 100 years (similiar to an average range), is a proxy for the smoothness of the spline (smaller values = smoother)

Author

Kristine Karstens, Felicitas Beier