Creates a data.frame containing one column for each parameter defined in the population
Source:R/utilities-population.R
populationToDataFrame.Rd
Creates a data.frame containing one column for each parameter defined in the population
Arguments
- population
Population to convert to data frame (typically imported from file using
loadPopulation
)
Examples
csvPath <- system.file("extdata", "pop.csv", package = "ospsuite")
population <- loadPopulation(csvPath)
df <- populationToDataFrame(population)