Calculate interaction p-values

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)