matrix2list: Convert a matrix to a list

View source: R/utills.R

matrix2listR Documentation

Convert a matrix to a list

Description

Convert a matrix to a list

Usage

matrix2list(X, grid = NULL)

Arguments

X

a n x p matrix containing functional trajectories. n is the number of curves, and p is the number of timepoints.

grid

a vector containing observed timepoints. Default is setting to equal grids between 0 and 1.

Value

a list containing 2 list (Lt, Ly).


statKim/robfpca documentation built on April 15, 2023, 10:12 p.m.