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

communityPGLMM.plot.re() #40

Open
arives opened this issue Jul 31, 2019 · 4 comments
Open

communityPGLMM.plot.re() #40

arives opened this issue Jul 31, 2019 · 4 comments

Comments

@arives
Copy link
Collaborator

arives commented Jul 31, 2019

I couldn't get this to work. There were a variety of error messages, such as

Error in as(as.matrix(Y.mat), "denseMatrix")[, cov_ranef_update[[sp.var]]$tip.label] :
invalid or not-yet-implemented 'Matrix' subsetting

It would be nice if somebody could just enter a comunityPGLMM object and have the covariance matrices plotted.

@daijiang
Copy link
Owner

If the input is a model, it needs to be (x = model name, sp.var = "sp.col.name"). The argument name x is needed because it is not the first argument in the function.

@arives
Copy link
Collaborator Author

arives commented Jul 31, 2019 via email

@daijiang
Copy link
Owner

It is a bug. Can you try cov_randef=list(sp=phylogeny) instead of the matrix?

@arives
Copy link
Collaborator Author

arives commented Jul 31, 2019 via email

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

2 participants