Previous: Included Data Sets | Up: JUDGEIT II: A Program | Next: Model Formula |
Now that there is an object containing the elections we wish to analyze, we can load this object into JUDGEIT . To do this:
judg.obj <- judgeit(model.formula=vote ~ predictor1 + predictor2 + some.function(predictor3), data=elections, vote.formula=cbind(turnout,eligible)~seats, ...) }
where the ellipsis ``...'' represents other possible commands used by the R command model.frame. The user may also apply a function to a variable in the data set as seen by some.function(...)