calc_interaction_pvalues: Calculate interaction p-values

View source: R/stats.R

calc_interaction_pvaluesR Documentation

Calculate interaction p-values

Description

Calculate interaction p-values

Usage

calc_interaction_pvalues(effect1, effect2, se1, se2, pvals_only = TRUE)

Arguments

effect1

numeric vector

effect2

numeric vector

se1

numeric vector

se2

numeric vector

pvals_only

logical. Indicate whether to return only interaction p-values, or a dataframe also including the input betas and standard errors. Default = TRUE

Value

df or numeric vector of interaction p-values (determined by pvals_only argument)


rmgpanw/rawutil documentation built on May 20, 2022, 1:29 a.m.