grouped_p_value: Extracting _p_-values for models that don't produce them.

Description Usage Arguments Author(s) Examples

View source: R/grouped_p_value.R

Description

Extracting p-values for models that don't produce them.

Usage

1
grouped_p_value(data, grouping.vars, ..f, ...)

Arguments

data

Dataframe (or tibble) from which variables are to be taken.

grouping.vars

Grouping variables.

..f

A function, or function name as a string.

...

<dynamic> Arguments for .fn.

Author(s)

Indrajeet Patil

Examples

1
2
3
4
5
6
groupedstats:::grouped_p_value(
  data = ggplot2::diamonds,
  formula = scale(price) ~ scale(carat) + (carat | color),
  grouping.vars = c(cut, clarity),
  ..f = lme4::lmer
)

IndrajeetPatil/groupedstats documentation built on June 6, 2020, 9:57 a.m.