Define loglm() function.

bookmark

Loglm() function is used to create log-linear models.