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

compare_wvar with a list of wvar as input #221

Open
stefangachter opened this issue Dec 11, 2020 · 1 comment
Open

compare_wvar with a list of wvar as input #221

stefangachter opened this issue Dec 11, 2020 · 1 comment

Comments

@stefangachter
Copy link
Collaborator

Would it be possible to change compare_wvar in such a way that first input argument is a list of wvar objects?
For example, instead of
compare_wvar(waveletVariances[[1]], waveletVariances[[2]], waveletVariances[[3]])
one could simply write
compare_wvar(waveletVariances)

@stefangachter
Copy link
Collaborator Author

Seems that with do.call the same can be achieved, e.g.
plotObj = do.call(compare_models, c(estimModels[,m], list(title=title, facet.label=measLabels, axis.x.label=xLabel, axis.y.label=yLabel)))
However, would prefer a straight-forward interface.

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

No branches or pull requests

1 participant