Description Usage Arguments Details Value
Wrapper for glm function to incorporate weights corresponding to latent classes
1 | glmLC(y,W,family=quasibinomial(),eps=1E-8,Z=NULL)
|
y |
outcome |
W |
weight matrix (rows=cases, # rows = length of y) |
family |
glm family (default = quasibinomial for logistic regression) |
eps |
threshold below which to delete pseudo-subject corresponding to a specific weight |
Z |
matrix of additional covariates |
This function is a wrapper for glm to incorporate weights corresponding to latent classes (e.g. from an RPMM prediction)
a glm object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.