PID {EffectStars} | R Documentation |
Subset of the 1996 American National Election Study.
data(election)
A data frame with 944 observations on the following 6 variables.
TVnews
Days in the past week spent watching news on TV
PID
Party identification with levels Democrat
, Independent
and Republican
Income
Income
Education
Educational level with levels low
(no college) and high
(at least college)
Age
Age in years
Population
Population of respondent's location in 1000s of people
R package faraway: nes96
## Not run:
data(PID)
PID$TVnews <- scale(PID$TVnews)
PID$Income <- scale(PID$Income)
PID$Age <- scale(PID$Age)
PID$Population <- scale(PID$Population)
star.nominal(PID ~ TVnews + Income + Population + Age + Education, data = PID)
## End(Not run)