slendr 0.7.2
-
A new function
ts_names()
has been added, avoiding the need for the extremely frequent (and, unfortunately, cumbersome) trick of getting named lists of individual symbolic namests_samples(ts) %>% split(., .[[split]]) %>% lapply(
[[, "name")
which is very confusing for all but the more experienced R users. (#7db6ea) -
Fixed broken concatenation of symbolic sample names in tree-sequence statistic functions, when those were provided as unnamed single-element lists of character vectors. (#b3c650)
-
plot_model()
now has an argumentfile =
, making it possible to save a visualization of a model without actually opening a plotting device. This can be useful particularly while working on a remote server, in order to avoid the often slow X11 rendering. (#e60078) -
plot_model()
now has an argumentorder =
allowing to override the default in-order ordering of populations along the x-axis. (#7a10ea)