Skip to content

Instantly share code, notes, and snippets.

@pbiecek
Last active August 29, 2015 14:15
Show Gist options
  • Select an option

  • Save pbiecek/d76003647b39f8ea9a49 to your computer and use it in GitHub Desktop.

Select an option

Save pbiecek/d76003647b39f8ea9a49 to your computer and use it in GitHub Desktop.
library(PISA2012lite)
pol <- student2012[student2012$CNT == 'Poland',]
model <- lm(cbind(PV1MATH, PV1READ, PV1SCIE)~ST28Q01+ST04Q01, pol)
# jeżeli nie jest zainstalowany to
# install.packages("heplots")
library(heplots)
heplot(model, size="effect.size", las=1, term.labels=FALSE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment