powered by
Perform the Schaake Shuffle
SchaakeShuffle$new()
SchaakeShuffle$fit()
SchaakeShuffle$predict()
SchaakeShuffle$clone()
new()
Create a new ShaakeShuffle object.
SchaakeShuffle$new(Y0 = NULL)
Y0
[vector] The reference vector
A new `ShaaleShuffle` object.
fit()
Fit the model
SchaakeShuffle$fit(Y0)
NULL
predict()
SchaakeShuffle$predict(X0)
X0
[vector] The vector to apply shuffle
Z0 [vector] data shuffled
clone()
The objects of this class are cloneable with this method.
SchaakeShuffle$clone(deep = FALSE)
deep
Whether to make a deep clone.
as fit/predict mode
X0 = matrix( stats::runif(20) , ncol = 2 ) Y0 = matrix( stats::runif(20) , ncol = 2 ) ss = SchaakeShuffle$new() ss$fit(Y0) Z0 = ss$predict(X0)
Run the code above in your browser using DataLab