View source: R/ClassFunctions.R
summary.TriLines | R Documentation |
TriLines
object
Returns the below information about the object
:
call
of the function defining the object
,
the defining points
,
selected x
and y
points on the line,
equation of the line, together with the vertices of the triangle,
and coefficients
of the line.
## S3 method for class 'TriLines'
summary(object, ...)
object |
An |
... |
Additional parameters for |
The call
of the object
of class "TriLines"
,
the defining points
,
selected x
and y
points on the line,
equation of the line,
together with the vertices of the triangle,
and coefficients
of the line
(in the form: y = slope * x + intercept
).
print.TriLines
,
print.summary.TriLines
,
and plot.TriLines
A<-c(0,0); B<-c(1,0); C<-c(1/2,sqrt(3)/2);
Te<-rbind(A,B,C)
xfence<-abs(A[1]-B[1])*.25
#how far to go at the lower and upper ends in the x-coordinate
x<-seq(min(A[1],B[1])-xfence,max(A[1],B[1])+xfence,l=3)
lnACM<-lineA2CMinTe(x)
lnACM
summary(lnACM)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.