Update functions.R

Adding basic functionality for modeling using bigglm function