simulate(String lphy, Integer seed, String outDir)

The function to simulate data from a given lphy script.

Parameters

  • String lphy - the file path of the lphy script to simulate data.
  • Integer seed - the seed (integer).
  • String outDir - (optional) the directory to output the simulated values. Default to the parent directory of the given lphy script.

Return type

Object