mat_lm_means_tidy: Compute means by lm, tidy, unnest

Description Usage Arguments Examples

View source: R/broom_tidy.R

Description

This returns a clean df of means for each group

Usage

1
mat_lm_means_tidy(df_nest, val_name = value, clean = TRUE, vcov. = NULL)

Arguments

df_nest

a nested df

val_name

name of value column

clean

Clean the broom colnames?

vcov.

Specify vcov

Examples

1
2
3
4
5
library(magrittr)
data(iris_tb)
iris_tb %>%
  tidyr::nest(data=-Species) %>%
  mat_lm_means_tidy(Petal.Width)

MatthieuStigler/matPkg documentation built on Aug. 10, 2021, 11:01 a.m.