powered by
Data loads lazily. Type data(vote1) into the console.
data(vote1)
A data.frame with 173 rows and 10 variables:
state. state postal code
district. congressional district
democA. =1 if A is democrat
voteA. percent vote for A
expendA. camp. expends. by A, $1000s
expendB. camp. expends. by B, $1000s
prtystrA. percent vote for president
lexpendA. log(expendA)
lexpendB. log(expendB)
shareA. 100*(expendA/(expendA+expendB))
# NOT RUN { str(vote1) # }
Run the code above in your browser using DataLab