R/outlier_example.R

#' Adult male heights in feet with outliers
#' 
#' This dataset was randomly generated with a normal distribution (average: 5 feet 9 inches, standard deviation: 3 inches). One value was changed to be mistakenly reported in centimeters rather than feet.
#'
#'
#' @docType data
#'
#' @usage outlier_example
#'
#' @format An object of class \code{"numeric"}. 
#'
#' @keywords datasets
#'
#'
#'
#' @examples
#' mean(outlier_example)
#' median(outlier_example)
"outlier_example"

Try the dslabs package in your browser

Any scripts or data that you put into this service are public.

dslabs documentation built on May 29, 2024, 6:29 a.m.