as_refundObj | R Documentation |
Very experimental function, primarily used to convert matrices storing functional data to data.frames with specific variable names.
as_refundObj(obj, ...)
obj |
Object to be converted. Currently supports class |
... |
additional arguments to be passed to methods. |
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
).
Jeff Goldsmith jeff.goldsmith@columbia.edu
## Not run: library(ggplot2) library(refund) cca_df = as_refundObj(DTI$cca) ggplot(cca_df, aes(x = index, y = value, group = id)) + geom_line() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.