R/p_test.R
p_test.Rd
Specify an outcome variable and return p-test outputs. All numeric variables in the dataset are used as predictor variables.
p_test(data, outcome, behavior, paired = FALSE)
A Person Query dataset in the form of a data frame.
A string specifying the name of a binary variable, i.e. can only contain the values 1 or 0. Used to group the two distributions.
A character vector specifying the column to be used as the behavior to test.
Specify whether the dataset is paired or not. Defaults to
TRUE
.
Returns a numeric value representing the p-value outcome of the test.
This function is a wrapper around wilcox.test()
from 'stats'.
Other Support:
camel_clean()
,
check_inputs()
,
combine_signals()
,
cut_hour()
,
extract_date_range()
,
extract_hr()
,
heat_colours()
,
is_date_format()
,
maxmin()
,
pairwise_count()
,
plot_WOE()
,
read_preamble()
,
rgb2hex()
,
totals_bind()
,
totals_col()
,
totals_reorder()
,
tstamp()
,
us_to_space()
,
wrap()