sim_XY {powerPLS} | R Documentation |
simulate data matrix under the alternative hypothesis
Description
simulate data matrix under the alternative hypothesis
Usage
sim_XY(out, n, seed = 123, post.transformation = TRUE, A)
Arguments
out |
output from |
n |
number of observations to simulate |
seed |
seed value |
post.transformation |
Boolean value. Default @TRUE i.e., post transformation is applied. |
A |
number of score components used in |
Value
Returns a simulated matrix under the alternative hypothesis.
Author(s)
Angela Andreella
Examples
datas <- simulatePilotData(nvar = 10, clus.size = c(5,5),m = 6,nvar_rel = 5,A = 2)
out <- PLSc(X = datas$X, Y = datas$Y, A = 2)
out_sim <- sim_XY(out = out, n = 10, A = 2)
[Package powerPLS version 0.1.0 Index]