Description Usage Arguments Value Examples
View source: R/sensitivity_stats.R
This function computes the partial R2 of a group of covariates in a linear regression model.
1 2 3 4 5 6 7 | group_partial_r2(...)
## S3 method for class 'lm'
group_partial_r2(model, covariates, ...)
## S3 method for class 'numeric'
group_partial_r2(F.stats, p, dof, ...)
|
... |
arguments passed to other methods. First argument should either be an |
model |
an |
covariates |
model covariates for which their grouped partial R2 will be computed. |
F.stats |
F-statistics for the group of covariates. |
p |
number of parameters in the model. |
dof |
residual degrees of freedom of the model. |
A numeric vector with the computed partial R2.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.