powered by
This function converts Itempool objects to a list object
# S3 method for Itempool as.list(x, ...)
an Itempool-class to be coerced to a list object
Itempool-class
Additional parameters to be passed to the function.
A list object with elements from 'Item' class.
# NOT RUN { item1 <- item(a = 1.12, b = -2.1, c = 0.28) item2 <- item(a = 2, b = 3.2, c = 0.21) ip1 <- c(item1, item2) as.list(ip1) # }
Run the code above in your browser using DataLab