Learn R Programming

DataFusionGDM (version 1.3.2)

export_simulated_gdm: Export a simulated GDM to CSV

Description

Export a simulated GDM to CSV

Usage

export_simulated_gdm(
  output_file = tempfile("gdm_", fileext = ".csv"),
  scenario = "default",
  n_pops = 30,
  verbose = TRUE,
  seed = NULL
)

Value

Invisibly, the normalized path to the written CSV

Arguments

output_file

Output CSV filename (defaults to a session-scoped temporary path)

scenario

Scenario name

n_pops

Number of populations

verbose

Verbose output

seed

Optional seed forwarded to run_genetic_scenario()

Examples

Run this code
tmp <- export_simulated_gdm(verbose = FALSE)
if (file.exists(tmp)) unlink(tmp)

Run the code above in your browser using DataLab