## Not run:
# R> f1 <- makeFormulas(egame122, outcomes = c("budget cuts passed",
# "budget cuts vetoed", "budget increase passed", "budget increase vetoed"))
#
# ---
# Equation for player 1's utility from budget cuts passed:
#
# 1: fix to 0
# 2: intercept only
# 3: regressors, no intercept
# 4: regressors with intercept
#
# Selection: 4
#
# Enter variable names (separated by spaces):
# legparty growth
#
# ---
# Equation for player 1's utility from budget cuts vetoed:
#
# 1: fix to 0
# 2: intercept only
# 3: regressors, no intercept
# 4: regressors with intercept
#
# Selection: 2
#
# ---
# Equation for player 1's utility from budget increase passed:
#
# 1: fix to 0
# 2: intercept only
# 3: regressors, no intercept
# 4: regressors with intercept
#
# Selection: 4
#
# Enter variable names (separated by spaces):
# legparty growth
#
# ---
# Equation for player 1's utility from budget increase vetoed:
#
# 1: fix to 0
# 2: regressors, no intercept
#
# Selection: 1
#
# ---
# Equation for player 2's utility from budget cuts vetoed:
#
# 1: fix to 0
# 2: intercept only
# 3: regressors, no intercept
# 4: regressors with intercept
#
# Selection: 4
#
# Enter variable names (separated by spaces):
# presparty growth
#
# ---
# Equation for player 2's utility from budget increase vetoed:
#
# 1: fix to 0
# 2: intercept only
# 3: regressors, no intercept
# 4: regressors with intercept
#
# Selection: 4
#
# Enter variable names (separated by spaces):
# presparty growth
#
# ---
# What is the name of the dependent variable in the dataset? (If stored as
# action indicators/dummies, separate their names with spaces.)
# budgincrease veto
# R> f1
# budgincrease + veto ~ legparty + growth | 1 | legparty + growth |
# 0 | presparty + growth | presparty + growth
# ## End(Not run)
Run the code above in your browser using DataLab