http://cran.r-project.org/package=pegas