crlistpoly: Create an object of class 'listpoly' from objects of class...

View source: R/listpoly-methods.R

crlistpolyR Documentation

Create an object of class 'listpoly' from objects of class 'poly'

Description

Create an object of class "listpoly" from objects of class "poly"

Usage

crlistpoly(...)

Arguments

...

objetcs of class "poly"

Value

An object of class "listpoly" : a list where each component is a 'poly' object (see poly-class).

See Also

poly-class

Examples

# A triangle:
a <- as.poly(matrix(c(2,2,2,3,3,3), ncol=2, byrow=TRUE))
# A square:
b <- as.poly(matrix(c(2.5,2,2.5,2.5,3,2.5,3,2), ncol=2, byrow=TRUE))
# The both:
 z <- crlistpoly(a,b)

RCALI documentation built on Jan. 13, 2023, 5:12 p.m.