Kimberly Lynn Foster
2018-09-15 13:38:30 UTC
Hello, I am looking at a family of fish and habitat transitions using SIMMAP in phytools.
I keep running into the error below when using a subsample of 500 trees. I used compare.tree and check.names to make sure all my tips match my data and visa versa. Any help would be greatly appreciated.
+ YY[[i]]<- describe.simmap(simtree[[i]], plot=F)
+ }
Error in MatrixExp(Y) : "mat" must be a square matrix
Kim
[[alternative HTML version deleted]]
_______________________________________________
R-sig-phylo mailing list - R-sig-***@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-***@r-project.org/
I keep running into the error below when using a subsample of 500 trees. I used compare.tree and check.names to make sure all my tips match my data and visa versa. Any help would be greatly appreciated.
simtrees<-list(500)
YY<-list(500)
for (i in 1:500){
+ simtrees[[i]]<-make.simmap(CrenuchidTreesLadderized[[i]], habitattrait, model="ER", nsim=1000)YY<-list(500)
for (i in 1:500){
+ YY[[i]]<- describe.simmap(simtree[[i]], plot=F)
+ }
Error in MatrixExp(Y) : "mat" must be a square matrix
Kim
[[alternative HTML version deleted]]
_______________________________________________
R-sig-phylo mailing list - R-sig-***@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-***@r-project.org/