Description Usage Arguments Value Examples
View source: R/CIVMR_function.R
Given response $Y$ and a set of features $X$, this function obtains univariate T-test p-values for each of the feature for selection purpose.
1 | lmPvalue(Y, X)
|
Y: |
response variable. n \times 1. |
X: |
the independent features.n \times p. |
pvalue_list: the list of Pvalues for feature selection based on univariate T-test.
1 2 | data(simulation)
p.values <- lmPvalue(simulation$X, simulation$G)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.