View source: R/listpoly-methods.R
crlistpoly | R Documentation |
Create an object of class "listpoly"
from objects of class "poly"
crlistpoly(...)
... |
objetcs of class |
An object of class "listpoly"
: a list
where each component is a 'poly' object (see poly-class
).
poly-class
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.