distance.cor: Measure an impact of the covariates on the response using the distance correlation
This function evaluates the distance correlation between the response y and each column in the design matrix x over subsamples in subsamples.
Description
Measure an impact of the covariates on the response using the distance correlation
This function evaluates the distance correlation between the response y and each column in the design matrix x over subsamples in subsamples.
Usage
distance.cor(x, y, subsamples, index = 1, ...)
Arguments
x
Matrix with n observations of p covariates in each row.
y
Response vector with n observations.
subsamples
Matrix with m indices of N subsamples in each column.
Value
Numeric p by N matrix with distance correlations evaluated for each subsample.