.update_correlation | R Documentation |
This is an internal helper function to compute the working correlation matrix based on standardized residuals.
.update_correlation(residuals, nobs, corstr, tau, cluster_indices)
residuals |
A numeric vector of residuals (y - mu). |
nobs |
A numeric vector of observations per subject. |
corstr |
A string specifying the correlation structure. |
tau |
The quantile being estimated. |
cluster_indices |
A numeric vector of cumulative subject observation counts. |
The updated working correlation matrix 'R'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.