Get startedGet started for free

Descriptive statistics of your dataset

The psych package provides several functions to help you visualize your data. The describe() function tells you basic statistics about each variable in your dataset, including the number of complete cases, the mean, standard deviation, minimum, maximum, range, skew, and kurtosis.

You can also view graphical representations of the error bars for different variables using error.dots() and error.bars(). Both of these graphical representations are created from the summary statistics available from calling describe().

This exercise is part of the course

Factor Analysis in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Basic descriptive statistics
___(___)
Edit and Run Code