Description Usage Arguments Value
when x is categorical, lm p value is equivalent to ANOVA p value. Coef becomes the mean; Rsquare?
1 |
x |
continuous vector |
y |
continuous vector |
collapse |
when vec is non-numeric which will be treated as factor, there are multiple coefs for different levels. We thus need to summarize them into a scaler (by mean). if collapse=FALSE, all coefs will be returned. |
a named vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.