ttest.flex | R Documentation |
Independent samples t-test
ttest.flex(
data,
form,
effect = "d",
type = "two.sided",
deci = 2,
conf.level = 0.95,
lang = "hr"
)
data |
dataset |
form |
formula in format dependent ~ independent. Can have multiple dependent varibles (dep1+dep2+dep3~ind) or multiple independent variables (dep~ind1+ind2+ind3), but NOT BOTH. |
effect |
effect size "d" (default) for Cohen's d or "prob_sup" for probability of superiority. |
type |
type of test (one or two sided). Options are "two.sided" (default), "greater" and "less". |
deci |
number of decimal places for M |
conf.level |
confidence level |
lang |
language of the output. Options are "hr" (default) and "en". |
list with table as flextable and data frame with results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.