kernTEST {ROKET} | R Documentation |
kernTEST
Description
kernTEST
Usage
kernTEST(
RESI = NULL,
KK,
YY = NULL,
XX = NULL,
OMNI,
nPERMS = 1e+05,
ncores = 1
)
Arguments
RESI |
A numeric vector of null model residuals
|
KK |
An array containing double-centered positive semi-definite
kernel matrices. Refer to |
YY |
A numeric vector of continuous outcomes to be fitted in a linear model. Defaults to NULL for survival model. |
XX |
A numeric data matrix with first column for intercept, a column of ones. |
OMNI |
A matrix of zeros and ones. Each column corresponds to a
distance matrix while each row corresponds to an omnibus test. Set
|
nPERMS |
A positive integer to specify the number of permutation-based p-value calculation |
ncores |
A positive integer for the number of cores/threads to reduce computational runtime when running for loops |
Value
A R list of p-values and omnibus p-values.