# NOT RUN {
data(Anolis_traits)
data(Anolis_tree)
data(Anolis_map)
colnames(Anolis_map) <- c("Hispaniola", "Cuba")
my.jive <- make_jive(Anolis_tree, Anolis_traits[,-3],
model.priors = list(m="BM", v = "OU"))
par(cex.lab = .8, cex.axis = .8, las = 1, mgp = c(2,0.5,0))
plot_jive(jive = my.jive, show.tip.label = TRUE,
trait.lab = "Snout to vent length (cm)", srt.label = 0, c.reg = 2)
my.jive <- make_jive(Anolis_tree, Anolis_traits[,-3], Anolis_map,
model.priors = list(m = "BM", v = c("OU", "theta")))
par(cex.lab = .8, cex.axis = .8, las = 1, mgp = c(2,0.5,0))
plot_jive(jive = my.jive, show.tip.label = TRUE, c.reg = 2,
trait.lab = "Snout to vent length (cm)", srt.label = 70, direction = "upwards")
# }
Run the code above in your browser using DataLab