powered by
Create an object of class "listpoly" from objects of class "poly"
"listpoly"
"poly"
crlistpoly(...)
An object of class "listpoly" : a list where each component is a 'poly' object (see poly-class).
poly-class
objetcs of class "poly"
# 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)
Run the code above in your browser using DataLab