powered by
These three functions implement methods for well-known generic functions.
# S3 method for polylist c(…, recursive = FALSE) # S3 method for polylist rep(x, times, …) # S3 method for polylist unique(x, incomparables = FALSE, …)
As for the generic function.
An object of class polylist
polylist
Perform familiar operations, retaining polylist class for the result.
None
# NOT RUN { p <- poly.from.zeros(-3:4) p5 <- rep(polylist(p), 5) p5 p6 <- c(p, p5) p6 unique(p6) # }
Run the code above in your browser using DataLab