R/stat.R
slope.Rd
Slope of linear regression
slope(x, y)
a numeric vector for x
a numeric vector for y
slope(runif(10), runif(10)) #> [1] -0.3418845