mat_lm_means_tidy | R Documentation |
This returns a clean df of means for each group
mat_lm_means_tidy(
df_nest,
val_name = value,
clean = TRUE,
vcov. = NULL,
weight
)
df_nest |
a nested df |
val_name |
name of value column |
clean |
Clean the broom colnames? |
vcov. |
Specify vcov |
weight |
weight argument passed to lm |
library(magrittr)
data(iris_tb)
iris_tb %>%
tidyr::nest(data=-Species) %>%
mat_lm_means_tidy(Petal.Width)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.