Calculate nmpi
get_npmi(
data,
col,
cross,
category = NULL,
smoothing = 0,
adjust = "fdr",
test = TRUE,
...
)
A volker tibble.
A tibble.
The column holding factor values.
The column to correlate.
A vector of values to focus. If not null, all other values will be removed from the result.
Add pseudocount. Calculate the pseudocount based on the number of trials to apply Laplace's rule of succession.
Performing multiple significance tests inflates the alpha error.
Thus, p values need to be adjusted according to the number of tests.
Set a method supported by stats::p.adjust
,
e.g. "fdr" (the default) or "bonferroni". Disable adjustment with FALSE.
Boolean; whether to perform significance tests (default TRUE).
Placeholder to allow calling the method with unused parameters from tab_counts.