discrete2curve {fdasrvf}R Documentation

Converts a curve from matrix to functional data object

Description

Converts a curve from matrix to functional data object

Usage

discrete2curve(beta)

Arguments

beta

A numeric matrix of size L×ML \times M specifying a curve on an LL-dimensional space observed on an evenly spaced grid of [0,1][0, 1] of length MM.

Value

A function that takes a numeric vector ss of values in [0,1][0, 1] as input and returns the values of the original curve at ss.

Examples

discrete2curve(beta[, , 1, 1])

[Package fdasrvf version 2.3.1 Index]