## S3 method for class 'game':
predict(object, ...)## S3 method for class 'egame12':
predict(object, newdata, probs=c("outcome", "action"),
na.action = na.pass, ...)
## S3 method for class 'egame122':
predict(object, newdata, probs=c("outcome", "action"),
na.action = na.pass, ...)
## S3 method for class 'egame123':
predict(object, newdata, probs=c("outcome", "action"),
na.action = na.pass, ...)
## S3 method for class 'ultimatum':
predict(object, newdata, na.action = na.pass, ...)
game
.egame12
) or for actions (e.g., whether 2 moves L or R given
that 1 moved R).NA
s in newdata
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.