Learn R Programming

correlation (version 0.5.0)

winsorize: Winsorize data

Description

Winsorization of data.

Usage

winsorize(data, threshold = 0.2)

Arguments

data

Dataframe or vector.

threshold

The amount of Winsorization.

Examples

Run this code
# NOT RUN {
library(correlation)

winsorize(iris$Sepal.Length, threshold = 0.2)
winsorize(iris, threshold = 0.2)
# }

Run the code above in your browser using DataLab