retrieveLmStats | R Documentation |
This function retrieves intercept, slope, r.squared, and adj.r.squared from lm()
retrieveLmStats(x, y)
x |
is second argument to lm() |
y |
is first argument to lm() |
returns a list containing the return value of lm, intercept, slope, r.squared, and adj.r.squared
retr<-retrieveLmStats(1:10,runif(10,0,1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.