alphaPhiDS {dsModelling} | R Documentation |
This function is called by the client function 'ds.gee' to calculate the parameters alpha and phi.
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.