Skip to contents

Mirrors the Python morie.suggest_analysis_plan(). Inspects the output of morie_profile_dataset() and returns plain-English recommendations for candidate analyses.

Usage

morie_suggest_analysis_plan(profile)

Arguments

profile

A list returned by morie_profile_dataset().

Value

Character vector of suggestion strings, one per recommendation.

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."