distrWH {DescriptiveWH}R Documentation

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.

Details

This function shows statistical descriptive values of a vector.

Value

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

Examples

#Example 1
dat=c(1,5,2,4,5,1,3,5,3,5)
distrWH(x=dat,dec=3)

[Package DescriptiveWH version 1.0.3 Index]