letter_value {lettervalue} | R Documentation |
Compute Letter Value.
Description
letter_value
returns the letter values until the level indicated by level
.
Usage
letter_value(x, level = 2, na_rm = TRUE)
Arguments
x |
numeric vector |
level |
integer value between 2 and 9 indicating the level to compute the letter values. Default value is 2. |
na_rm |
a logical evaluating to |
Details
This function computes the letter values as presented at Understanding Robust and Exploratory Data Analysis by Hoaglin, Mosteller and Tukey published in 1983.
Value
a list
object is returned with the variable name (variable_name
), the sample (sample
), and a data frame with the following columns:
- letter
a letter indicating the letter value
- depth
depth of the letter value
- lv_lower
lower letter value
- lv_upper
upper letter value
Examples
letter_value(rivers)
[Package lettervalue version 0.2.1 Index]