as_refundObj: Convert data to refund objects for use in functional data analyses
Description
Very experimental function, primarily used to convert matrices storing functional data
to data.frames with specific variable names.
Usage
as_refundObj(obj, ...)
Value
An object of classes data.frame and refund.object, the latter of
which is so far not used. Columns are id (taken from the rownames of obj,
if they exist), index (with behavior described above), and value (taken
from entries in obj).
Arguments
obj
Object to be converted. Currently supports class matrix, formatted
so that rows contain functional observations on subjects.