Description Usage Arguments Details Value Author(s)
This function is called by the client function 'ds.gee' to calculate the parameters alpha and phi.
1 | alphaPhiDS(data, formula, family, clusterID, corstr, startBetas)
|
data |
the input dataframe which contains the variable specified in the formula. |
formula |
a regression formula. |
family |
an object of class Family. |
clusterID |
the name of the column that holds the cluster IDs. |
corstr |
the correlation structure. |
startBetas |
a character, the starting values concatenated by comma because it is not possible to use 'c()' in aggregate functions. |
the parameters are calculated according to the correlation structure.
a list
Gaye, A.; Jones EM.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.