bspl: B-spline fits on Multivariate Hydrographic Profiles

View source: R/bspl.R

bsplR Documentation

B-spline fits on Multivariate Hydrographic Profiles

Description

This function fits B-splines on multivariate hydrographic profiles and return a functional data object.

Usage

bspl(Pi, Xi, nbas = 20, fdn = list("Temperature", "Salinity"))

Arguments

Pi

vector containing the levels

Xi

array containing the profiles stored in this order levels x stations x variables

nbas

number of Bsplines (coefficients), by default nbas = 20.

fdn

a list of the variable names, by default fdn = list('Temperature','Salinity').

Value

fdobj : fd objects of the splines construction containing coefficients, basis etc... The coefficients are stored in an array nbasis x stations x variables

Author(s)

Etienne Pauthenet <etienne.pauthenet@gmail.com>, David Nerini <david.nerini@univ-amu.fr>, Fabien Roquet <fabien.roquet@gu.se>

References

Pauthenet et al. (2017) A linear decomposition of the Southern Ocean thermohaline structure. Journal of Physical Oceanography, http://dx.doi.org/10.1175/JPO-D-16-0083.1

Ramsay, J. O., and B. W. Silverman, 2005: Functional Data Analysis. 2nd Edition Springer, 426 pp., Isbn : 038740080X.

See Also

fpca for functional principal component analysis of T-S profiles, proj for computing Principal Components, reco for reconstructing profiles with less modes.


EPauthenet/fda.oce documentation built on April 18, 2024, 7:56 a.m.