## S3 method for class 'game':
predict(object, ...)## S3 method for class 'egame12':
predict(object, newdata, probs=c("outcome", "action"), ...)
## S3 method for class 'egame122':
predict(object, newdata, probs=c("outcome", "action"), ...)
## S3 method for class 'ultimatum':
predict(object, newdata, ...)
game
.egame12
) or for actions (e.g., whether 2 moves L or R given
that 1 moved R).For many uses, such as analyzing the marginal effect of a particular
independent variable, the function predProbs
will be more
convenient.
predProbs
provides a more full-featured and
user-friendly wrapper, including plots and confidence bands.