View source: R/regressionTools.R
weightsFromResidualsVector | R Documentation |
generates vector of weighted values where the weights are calculated from the residuals coming from a fit
weightsFromResidualsVector(fit)
fit |
model object (eg coming from lm() or fitLM()) |
a vector of weighted values (or NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.