Description Usage Arguments Details Value Author(s) See Also Examples
Calls glmmPQL in the MASS library, with the model being specified in the same manner as writeBugsModel
1 2 |
effects |
A vector of character strings containing the grouping levels, from most general to most specific |
covariates |
A list with names corresponding to effects and each element being a vector of covariates applicable at that level |
observations |
A character string giving the column of observations, or a vector where the first element is the observations and the remaning are offsets. For binomial responses, the first element is the counts (of successes), and the second element is the total number of trials. Note this differs from glmmPQL and glm's notation, but is consistent with WinBUGS. |
data |
A data frame containing the response, covariates, and group membership. |
family |
The distribution to use. Either using |
... |
further arguments to |
This function is useful for generating starting values for an MCMC chain.
In addition to the output from glmmPQL, the following are returned
effects,covariates,observations |
As input |
Patrick Brown, patrick.brown@utoronto.ca
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.