S3methods

as.data.frame is the usual way to turn an object into a data frame. Added documentation for this as well as extractAIC and logLik.