Skip to content

Instantly share code, notes, and snippets.

@davebraze
Last active October 10, 2021 22:12
Show Gist options
  • Save davebraze/f1653f51eb0b892aab926404176cfde3 to your computer and use it in GitHub Desktop.
Save davebraze/f1653f51eb0b892aab926404176cfde3 to your computer and use it in GitHub Desktop.
rstats summary tools for data.frame

skimr::skim_without_charts(df) ## I like this best

Hmisc::describe(df) ## type agnostic

summarytools::dfSummary(df) ## similar to Hmisc::describe

base::summary(df) ## best with numeric variables

psych::describe(df) ## best with numeric variables

pastecs::stat.desc(df) ## similar to base::summary

summarytools::descr(df) ## standard summary stats for numerica variables only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment