Learn R Programming

psda (version 1.4.0)

print.plr: Print method for Polygonal Linear Regression

Description

print.plr is the plr method of the generic print function which prints its argument.

Usage

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

Arguments

x

the object to be printed.

digits

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

...

further arguments passed to or from other methods.

Examples

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

Run the code above in your browser using DataLab