mat_tidy_keep_estimate | R Documentation |
Remove reg details
mat_tidy_keep_estimate(df)
df |
data |
library(purrr)
library(dplyr, warn.conflicts = FALSE)
library(tidyr)
iris_regs <- nest(iris, data=-Species) %>%
mutate(reg_out = map(data, ~lm(Petal.Width~Petal.Length, data=as_tibble(.)))) %>%
select(-data)
coefs_out <- mat_tidy_do(df=iris_regs)
mat_tidy_keep_estimate(coefs_out)
mat_tidy_keep_estimate(df= freeny)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.