Wrapper for topicsTest function from the topics package
textTopicsTest(
model,
x_variable = NULL,
y_variable = NULL,
controls = c(),
test_method = "default",
p_adjust_method = "fdr",
...
)
A list of the test results, test method, and prediction variable
(list) The trained model
(string) The x variable name to be predicted, and to be plotted (only needed for regression or correlation)
(string) The y variable name to be predicted, and to be plotted (only needed for regression or correlation)
(vector) The control variables (not supported yet)
(string) The test method to use, either "correlation","t-test", "linear_regression","logistic_regression", or "ridge_regression"
(character) Method to adjust/correct p-values for multiple comparisons (default = "none"; see also "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr").
Parameter settings from topicsTest in the topics-package.