Suggest an analysis plan from a dataset profile
Source:R/dataset_profile.R
morie_suggest_analysis_plan.RdMirrors the Python morie.suggest_analysis_plan(). Inspects the output
of morie_profile_dataset() and returns plain-English recommendations for
candidate analyses.
Arguments
- profile
A list returned by
morie_profile_dataset().
Examples
morie_suggest_analysis_plan(morie_profile_dataset(iris))
#> [1] "Multiple numeric variables. Consider linear regression (lm), Pearson correlation, or principal-components analysis."
#> [2] "Nominal grouping + numeric outcome. Consider one-way ANOVA, Kruskal-Wallis, or per-group descriptives."