winzer: Winsorizes your data

Description Usage Arguments See Also Examples

View source: R/functions.R

Description

winzer performs winsorization on your data.

Usage

1
winzer(data, x, y, z, grouping, value, label, ...)

Arguments

data

A dataset in tabular format.

x

Single value declaration for lower quantile of winsorizing.

y

Single value declaration for upper quantile of winsorizing.

z

Single value declaration for IQR multiplier.

grouping

A list of strings determining by which cathegorical variable you would like to group your data.

value

A single character vector identifying the column containing your measured variable like reaction time as RT.

label

A string name indicating the columns containing trials or observation points.

See Also

ABV for ABV-index, shaker for reshape your data. For extended winsorization see winvar and the win function family of the WRS package.

Examples

1
winzer(example, grouping = c("year", "subject"), x = 0.25, y = 0.75, z = 1.5, label = "trial", value = "RT")

TamasSmahajcsikszabo/REAC documentation built on May 23, 2019, 8:19 p.m.