weigh | R Documentation |
Evaluate the size of each element contained in a model object.
weigh(x, threshold = 0, units = "MB", ...)
x |
A model object. |
threshold |
The minimum threshold desired for model component size to display. |
units |
The units in which to display the size of each component
within the model object of interest. Defaults to |
... |
Any additional arguments for weighing. |
Tibble with weights of object components in decreasing magnitude.
simulate_x <- matrix(runif(1e+6), ncol = 2)
simulate_y <- runif(dim(simulate_x)[1])
lm_out <- lm(simulate_y ~ simulate_x)
weigh(lm_out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.