Learn R Programming

roahd (version 1.4.3)

toListOfValues: Manipulation of mfData list of values

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

toListOfValues(mfData)

Arguments

mfData

the multivariate functional dataset in form of mfData object.

Value

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

Details

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

See Also

mfData

Examples

Run this code
# NOT RUN {
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 )

# }

Run the code above in your browser using DataLab