Skip to content

Commit

Permalink
added second origin to example script
Browse files Browse the repository at this point in the history
  • Loading branch information
perblock committed Jan 4, 2024
1 parent 9aab7e8 commit da45e9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MoNAnExampleScript.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ region <- createNodeVariable(orgRegion, nodeSet = "organisations")
size <- createNodeVariable(orgSize, nodeSet = "organisations", addSim = TRUE)
sex <- createNodeVariable(indSex, nodeSet = "people")

second_or <- createNodeVariable(other_origin, nodeSet = "people")

# combine created objects to the process state
myState <- createProcessState(
list(
Expand All @@ -34,7 +36,8 @@ myState <- createProcessState(
sameRegion = sameRegion,
region = region,
size = size,
sex = sex),
sex = sex,
second_or = second_or),
dependentVariable = "transfers")


Expand Down

0 comments on commit da45e9f

Please sign in to comment.