descriptr (version 0.3.0)

ds_summary_stats: Descriptive Statistics

Description

ds_summary_stats returns a whole range of descriptive statistics for continuous data.

Usage

ds_summary_stats(data)

Arguments

data

a numeric vector

Value

ds_summary_stats returns an object of class "ds_summary_stats". An object of class "ds_summary_stats" is a list containing the following components

obs

number of observations

missing

number of missing observations

avg

mean

tavg

5 percent trimmed mean

stdev

standard deviation

variance

variance

skew

skewness

kurtosis

kurtosis

uss

uncorrected sum of squares

css

corrected sum of squares

cvar

coefficient of variation

sem

standard error of mean

median

median

mode

mode

range

range

min

minimum value

iqrange

inter quartile range

per99

99th percentile

per95

95th percentile

per90

90th percentile

per75

75th percentile

per25

25th percentile

per10

10th percentile

per5

5th percentile

per1

1st percentile

lowobs

five lowest observations

highobs

five highest observations

lowobsi

index of five lowest observations

highobsi

index of five highest observations

Deprecated Function

summary_stats() has been deprecated. Instead use ds_summary_stats().

See Also

summary ds_freq_cont ds_freq_table ds_cross_table

Examples

Run this code
# NOT RUN {
ds_summary_stats(mtcars$mpg)
# }

Run the code above in your browser using DataCamp Workspace