Learn R Programming

SBCK (version 1.0.0)

schaake_shuffle: schaake_shuffle function

Description

Apply the Schaake shuffle to transform the rank of X0 such that its correspond to the rank of Y0

Usage

schaake_shuffle(Y0,X0)

Value

Z0 [vector] X shuffled.

Arguments

Y0

[vector] The reference vector

X0

[vector] The vector to transform the rank

Examples

Run this code
X0 = stats::runif(10)
Y0 = stats::runif(10)
Z0 = SBCK::schaake_shuffle( Y0 , X0 )

Run the code above in your browser using DataLab