rank_new: Apply rank transformation to new data

View source: R/rank_new.r

rank_newR Documentation

Apply rank transformation to new data

Description

Apply rank transformation to new data

Usage

rank_new(x, new, ...)

Arguments

x

A vector or matrix to which a rank transformation was applied

new

New data to be ranked againt the old

...

Further arguments to rank()

Examples

x <- rnorm(100)
rank_new(x, 1)
rank_new(x, 4)
X <- matrix(rnorm(100*5), 100, 5)
rank_new(X, rbind(1:5, -2:2))

pbreheny/breheny documentation built on March 30, 2024, 7:37 p.m.