View source: R/ClassFunctions.R
print.TriLines | R Documentation |
TriLines
object
Prints the call
of the object
of class "TriLines"
and also the coefficients
of the line
(in the form: y = slope * x + intercept
),
and the vertices of the triangle
with respect to which the line is defined.
## S3 method for class 'TriLines'
print(x, ...)
x |
A |
... |
Additional arguments for the S3 method |
The call
of the object
of class "TriLines"
,
the coefficients
of the line
(in the form: y = slope * x + intercept
),
and the vertices of the triangle
with respect to which the line is defined.
summary.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
print(lnACM)
typeof(lnACM)
attributes(lnACM)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.