Computes cluster-robust standard errors, with automatic missing data handling.
1 | vcovCluster(model, cluster)
|
model |
An estimated regression model from lm() |
cluster |
A variable that indicates which cluster each observation belongs to. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.