Skip to contents

Saves the population to csv file

Usage

savePopulationToCSV(population, filePath)

Arguments

population

Population to export to csv (typically imported from file using loadPopulation)

filePath

Full path where the population will be saved.

Examples

csvPath <- system.file("extdata", "pop.csv", package = "ospsuite")

# Load the population
population <- loadPopulation(csvPath)

# Exports the population
exportPopulationToCSV(population, tempfile())