lmdf | R Documentation |
calculate linear regression between every two columns in a data frame. in: a dataframes. out: a dataframe showing the linear regression.
lmdf(data, simply = FALSE, intercept = TRUE)
data |
a dataframe |
simply |
logical |
intercept |
logical |
another dataframe
df <- data.frame(a = 1:10, b = 1:10 + rnorm(10), c = 1:10 + rnorm(10))
lmdf(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.