Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add as_refundObj.data.frame() function #2

Open
jeff-goldsmith opened this issue Jun 17, 2016 · 0 comments
Open

Add as_refundObj.data.frame() function #2

jeff-goldsmith opened this issue Jun 17, 2016 · 0 comments
Assignees

Comments

@jeff-goldsmith
Copy link
Member

jeff-goldsmith commented Jun 17, 2016

Augment functionality in as_refundObj(), which currently supports only matrices, to allow the specification of variables that should be retained in the final data.frame.

For example

df = DTI[c("ID", "visit", "cca", "visit.time")]
as_refundObj(df, id = "ID", funcs = "cca")

should produce a data.frame with columns visit and visit.time in addition to id, index, value. This will be needed, I assume, for later function-on-scalar regressions and MFPCA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant