summary.TriLines: Return a summary of a 'TriLines' 'object'

View source: R/ClassFunctions.R

summary.TriLinesR Documentation

Return a summary of a TriLines object

Description

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.

Usage

## S3 method for class 'TriLines'
summary(object, ...)

Arguments

object

An object of class TriLines.

...

Additional parameters for summary.

Value

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).

See Also

print.TriLines, print.summary.TriLines, and plot.TriLines

Examples

## Not run: 
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)

## End(Not run)


elvanceyhan/pcds documentation built on June 29, 2023, 8:12 a.m.