slope | R Documentation |
Returns the slope of the line
joining two distinct 2D points a
and b
.
slope(a, b)
a , b |
2D points that determine the straight line (i.e., through which the straight line passes). |
Slope of the line joining 2D points a
and b
Elvan Ceyhan
Line
, paraline
,
and perpline
A<-c(-1.22,-2.33); B<-c(2.55,3.75)
slope(A,B)
slope(c(1,2),c(2,3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.