Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sparse.mat

Creates a matrix of sparse data with NAs out of a list


Description

Creates a matrix or three dimensional array of sparse data with NAs from a list of sparse data. The number of columns of the matrix will be equal to the length of the list (replications)

Usage

sparse.mat(datalist)

Arguments

datalist

A list object. Each element must be a matrix object where the rows correspond to argument values per individual. First column corresponds to time points and the following columns to argument values per variable.

Value

a matrix or array with ncol = length(datalist). First dimension corresponds to point observations, second dimension corresponds to replications and third dimension corresponds to variables.


fda

Functional Data Analysis

v5.1.9
GPL (>= 2)
Authors
J. O. Ramsay <ramsay@psych.mcgill.ca> [aut,cre], Spencer Graves <spencer.graves@effectivedefense.org> [ctb], Giles Hooker <gjh27@cornell.edu> [ctb]
Initial release
2020-12-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.