grade: Convert numeric values to ordinal grades

Description Usage Arguments Value Author(s)

View source: R/pgx.R

Description

Convenience function to convert numeric values to ordinal grades at user defined threshold values.

Usage

1
grade(x, threshvals, strict = TRUE)

Arguments

x

a vector of numeric values

threshvals

a vector of threshold values

strict

Apply strict inequalities

Value

The vector of ordinal grades.

Author(s)

Toby Johnson Toby.x.Johnson@gsk.com


tobyjohnson/gtx documentation built on Aug. 30, 2019, 8:07 p.m.