Skip to contents
1midMarriage id number (unique sequential integer)
2wpidWife’s person id
3hpidHusband’s person id
4dstartDate marriage began
5dendDate marriage ended or zero if still in force at end of simulation
6rendReason marriage ended 2 = divorce; 3 = death of one partner
7wpriorMarriage id of wife’s next most recent prior marriage
8hpriorMarriage id of husband’s next most recent prior marriage

Usage

read_omar(
  folder = NULL,
  supfile = "socsim.sup",
  seed = 42,
  suffix = "",
  fn = NULL
)

Arguments

folder

simulation base folder ("~/socsim/simulation_235/")

supfile

name of supervisory-file ("socsim.sup")

seed

random number seed (42)

suffix

optional suffix for the results-directory (default="")

fn

complete path to the file. If not provided, it will be created from the other arguments

Value

Data frame with the information of the output population file

Details

you can either provide the complete path to the file or the folder, supfilename, seed and suffix with which you started the simulation