View source: R/read_population.R
read_population | R Documentation |
Wrapper around read_speciome
for variables with one value per time point.
read_population(root, variables, ncols = NULL)
root |
Path to the simulation folder |
variables |
Vector of names of variable to read |
ncols |
Vector or list indicating how to split or duplicate each variable
when constructing the tibble. See |
A tibble containing the simulation data
The function will read "time.dat" as an extra variable, no need to supply it.
read_speciome
root <- system.file("extdata", "sim-example", package = "speciomer") read_population(root, c("EI", "RI", "SI")) read_population(root, c("EI", "trait_Fst"), ncols = c(1, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.