ifar.extre.marker: Find out extre values

Description Usage Arguments Value Examples

View source: R/UTL.ifar.extre.marker.r

Description

This function will find out the 5 highest and 5 lowest values and put an "X" after their ID.

Usage

1
ifar.extre.marker(dataset, variable)

Arguments

variable

Name of the variable.It should be entered as a character. For example, "BMI".

dataset

Name of the dataset

Value

This function will return a new dataset with a new column which is named as "variable.marker" and marks out the 5 highest and 5 lowest values.

Examples

1
ifar.extre.marker(baseline, "BMI")

haozhu233/ifaR.handtools documentation built on May 17, 2019, 2:30 p.m.