permute_ols {conText} | R Documentation |
Estimate empirical p-value using permutated regression
permute_ols(Y = NULL, X = NULL)
Y |
vector of regression model's dependent variable (embedded context) |
X |
data.frame of model independent variables (covariates) |
list with two elements, betas
= list of beta_coefficients (D dimensional vectors);
normed_betas
= tibble with the norm of the non-intercept coefficients