> # data for the binary [0,1] state in x
> trees<-make.simmap(tree,x,nsim=100)
> par(mfrow=c(10,10))
> cols<-c("blue","red"); names(cols)<-c(0,1)
> plotSimmap(trees,cols,ftype="off",lwd=1,pts=F)
> trees<-make.simmap(tree,x,nsim=100)
> par(mfrow=c(10,10))
> cols<-c("blue","red"); names(cols)<-c(0,1)
> plotSimmap(trees,cols,ftype="off",lwd=1,pts=F)
That's pretty cool. Still, I think there is an argument for densityMap:
> par(mfrow=c(1,1))
> densityMap(trees)
sorry - this might take a while; please be patient
Waiting to confirm page change...
> densityMap(trees)
sorry - this might take a while; please be patient
Waiting to confirm page change...
Dear Dr. Ravell:
ReplyDeleteIt´s possible to summarize the results of a make.simmap when states>2??
Many Thanks
Enrique
Yes - you can get the posterior probabilities at internal (& terminal) nodes using describe.simmap and plot them using various methods (e.g., 1, 2). - Liam
DeleteMuchas Gracias!!!!!!!
Delete