toListOfValues: Manipulation of 'mfData' list of values

Description Usage Arguments Details Value See Also Examples

View source: R/fData.R

Description

This utility function manipulates a mfData object in order to extract from the list of its fData objects ( namely, mfData$fDList ) the measurement values of each component and stores them into a list.

Usage

1

Arguments

mfData

the multivariate functional dataset in form of mfData object.

Details

Given a mfData of L components, the function is equivalent to list( mfData$fDList[[ 1 ]]$values, ..., mfData$fDList[[ L ]]$values ) .

Value

The function returns the list of values of each fData object representing the components of mfData.

See Also

mfData

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
grid = seq( 0, 1, length.out = 5 )

D_1 = matrix( 1 : 5, nrow = 10, ncol = 5, byrow = TRUE )
D_2 = 2 * D_1
D_3 = 3 * D_1

mfD = mfData( grid, list( D_1, D_2, D_3 ) )
mfD

toListOfValues( mfD )

roahd documentation built on Nov. 4, 2021, 1:07 a.m.