Hey everyone,
I am wanting to use revbayes for a time-stratified biogeographic analysis and have been following the advanced tutorial from the website (
https://revbayes.github.io/tutorials/biogeo/biogeo_epoch). I note that to keep the example analysis simple, a single distance matrix is used, which assumes distances remain constant over time. What varies is the connectivity matrix for each time slice or epoch.
I would like to have different distance matrices for each time epoch and was wondering how I would go about coding this in revbayes?
To start, the different connectivity matrices are generated by coding:
"for (i in 1:n_epochs) {
epoch_fn[i] = geo_fn + ".connectivity." + i + ".txt"
connectivity[i] <- readDataDelimitedFile(file=epoch_fn[i], delimiter=" ")
}"
so would I be able to sub out connectivity to distance to read in stratified distance files?
Best,
Sophie