Internal function that implements the Aitchinson-Silvey algorithm to estimate extended RC models.
MainRC(y, Model, the0 = NULL, output = FALSE)final deviance
degrees of freedom
vector of joint probabilities
number of iterations
final discrepancy
row vectorized vector of frequencies of the contingency table
list of model components
initial vector of canonical parameters (optional)
to require full output (optional)
Francesco Bartolucci, Antonio Forcina