Learn R Programming

DescriptiveWH (version 1.0.3)

distrWH: Distribution of records

Description

This function is useful to see the frequency of data and descriptive statistics

Usage

distrWH(x, dec = FALSE)

Arguments

x

Numeric. A vector containing the data set.

dec

Numeric. A value defined to set the number of decimals in the returns.

Value

List including the table with the absolute frequency of data, also the mean, median, mode and range of data.

Details

This function shows statistical descriptive values of a vector.

Examples

Run this code
# NOT RUN {
#Example 1
dat=c(1,5,2,4,5,1,3,5,3,5)
distrWH(x=dat,dec=3)
# }

Run the code above in your browser using DataLab