toolTimeSpline: toolTimeSpline

View source: R/toolTimeSpline.R

toolTimeSplineR Documentation

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)

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)

Value

approximated data in magclass format

Author(s)

Kristine Karstens, Felicitas Beier


madrat documentation built on Aug. 23, 2023, 5:10 p.m.