pearson.cor: Measure an impact of the covariates on the response using...

Description Usage Arguments Value

Description

Measure an impact of the covariates on the response using Pearson correlatio. This function evaluates the Pearson correlation coefficient between the response y and each column in the design matrix x over subsamples in subsamples.

Usage

1
pearson.cor(x, y, subsamples, ...)

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.

...

Not in use.

Value

Numeric p by N matrix with Pearson correlations evaluated for each subsample.


rbvs documentation built on May 2, 2019, 7:31 a.m.