View source: R/statistics_reports.R
| assumption_report | R Documentation |
Performs common assumption checks for survey analyses using base R where possible: Shapiro-Wilk tests, skewness/kurtosis screening, Levene and Brown-Forsythe tests, regression residual checks, VIF, Cook's distance, expected-count checks, and sparse-cell warnings.
assumption_report(
data,
variables = NULL,
group = NULL,
outcome = NULL,
predictors = NULL,
table_vars = NULL
)
data |
A data.frame. |
variables |
Numeric variables for normality screening. |
group |
Optional grouping variable for Levene/Brown-Forsythe tests. |
outcome |
Optional regression outcome. |
predictors |
Optional regression predictors. |
table_vars |
Optional two categorical variables for expected-count checks. |
An object of class sframe_assumption_report.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.