Description Usage Arguments See Also Examples
Simple function to produce a single R^2 value for a specified variable (including factors and interaction terms) from a lm() object. Uses anova() to generate type 1 Sums of Squares (sequential) for variable.
1 | lmSingleR2(obj, test.var)
|
obj |
Object from an lm() fiitted equation. |
test.var |
Required. Variable name from lm() object. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.