Learn R Programming

psda (version 1.4.0)

print.summary.plr: Print Summary Polygonal Linear Regression

Description

print arguments of the class "summary.plr" and returns it invisibly (via invisible (x)).

Usage

# S3 method for summary.plr
print(x, digits = max(3L, getOption("digits") -
  3L), concise = FALSE, ...)

Arguments

x

an object of the class "summary.plr".

digits

non-null value for digits specifies the minimum number of significant digits to be printed in values.

concise

a logical used to determine the type of digits.

...

further arguments special methods could require.

Examples

Run this code
# NOT RUN {
yp <- psim(50, 10) #simulate 50 polygons of 10 sides
xp1 <- psim(50, 10) #simulate 50 polygons of 10 sides
xp2 <- psim(50, 10) #simulate 50 polygons of 10 sides
e <- new.env()
e$yp <- yp
e$xp1 <- xp1
e$xp2 <- xp2
fit <- plr(yp~xp1 + xp2, data = e)
s <- summary(fit)  
s
# }

Run the code above in your browser using DataLab