# NOT RUN {
## Load test data
data(Anolis_traits)
data(Anolis_tree)
data(Anolis_map)
## Run a simple MCMC chain
set.seed(300)
my.jive <- make_jive(phy = Anolis_tree, traits = Anolis_traits[,-3],
model.priors = list(mean = "BM", logvar= c("OU", "root")))
bite_ex <- tempdir()
logfile <- sprintf("%s/my.jive_mcmc.log", bite_ex)
mcmc_bite(model = my.jive, log.file=logfile,
sampling.freq=10, print.freq=0, ngen=1000)
## Run an MCMC chain with thermodynamic integration
logfile <- sprintf("%s/my.jive_mcmc_TI.log", bite_ex)
mcmc_bite(my.jive, log.file=logfile, ncat=10,
sampling.freq=10, print.freq=100, ngen=1000, burnin=10)
# }
Run the code above in your browser using DataLab