Previous: Included Data Sets Up: JUDGEIT II: A Program Next: Model Formula

Step 1: Create a JUDGEIT object

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(...)



Subsections

Gary King 2010-08-31