Concatenate free objects together
# S3 method for free c(...) # S3 method for free rep(x, ...)
In the method for c(), objects to be concatenated. Should all be of the same type
c()
In the method for rep(), a free object
rep()
# NOT RUN { x <- rfree(10,3) y <- rfree(10,3) c(x,y) ## NB: compare rep(x,2) x*2 # }
Run the code above in your browser using DataLab