powered by
Apply the Schaake shuffle to transform the rank of X0 such that its correspond to the rank of Y0
schaake_shuffle(Y0,X0)
Z0 [vector] X shuffled.
[vector] The reference vector
[vector] The vector to transform the rank
X0 = stats::runif(10) Y0 = stats::runif(10) Z0 = SBCK::schaake_shuffle( Y0 , X0 )
Run the code above in your browser using DataLab