Learn R Programming

lettervalue (version 0.2.1)

summary.lv: Summary Using Letter Value

Description

Compute the resume measures (location and scale) using letter values.

Usage

# S3 method for lv
summary(object, ..., coef = 1.5)

Value

A tibble object with the following columns:

trimean

resistant measure to small changes in the dataset for location.

median

resistant measure to small changes in the datase for location.

f_spread

resistant measure to small changes in the dataset for scale.

f_pesudo_sigma

resistant measure to small changes in the dataset for location. For a normal distribution, this measure is equal to populational statndard deviation.

f_pseudo_variance

squared valued of f_pseudo_sigma.

outliers

values outside whiskers.

Arguments

object

an object lv.

...

further arguments passed to or from other methods.

coef

Length of the whiskers as multiple of IQR. Defaults to 1.

Details

In this summary, we present the trimean, median, F-spread, F-pseudo sigma, F-pseudo variance e outliers values.

This function returns the measures of location and scale as presented at Understanding Robust and Exploratory Data Analysis by Hoaglin, Mosteller and Tukey published in 1983.

This is a generic method for the class "lv".

Examples

Run this code
lv_obj <- letter_value(rivers)
summary.lv(lv_obj)

Run the code above in your browser using DataLab