library( StructCoalescent ); treedata <- treeio::read.beast.newick(file = 'tree.newick.txt'); try( default_priors( as.strphylo( treedata ), n_deme = 2 ) )
fails with error
Error in DemeDecompC(ED, max(ED[, 5]), NodeIndicesC(ED)) : Not a matrix.
tree.newick.txt
library( StructCoalescent ); treedata <- treeio::read.beast.newick(file = 'tree.newick.txt'); try( default_priors( as.strphylo( treedata ), n_deme = 2 ) )fails with error
Error in DemeDecompC(ED, max(ED[, 5]), NodeIndicesC(ED)) : Not a matrix.tree.newick.txt