K: Specifying generalized linear models in R