powered by
Returns weighting variable of a model.
get_weights(x, ...)
A fitted model.
Currently not used.
The weighting variable, or NULL if no weights were specified.
NULL
# NOT RUN { data(mtcars) mtcars$weight <- rnorm(nrow(mtcars), 1, .3) m <- lm(mpg ~ wt + cyl + vs, data = mtcars, weights = weight) get_weights(m) # }
Run the code above in your browser using DataLab