install.packages('popEpi')'pe' to a Lexis object.setattr(obj, "class", CLASS)); can add instead of replacelines method for survtab objectsratetable object to data.framesirspline objectsdata.frame to a ratetable objectdata.table/data.frame from long format to wide format'pe' to a data.table object.'pe' to a list object.plot method for survtab objectsdata.table columns if thereratetable object to data.tablesir objects