powered by
A list where all elements are the same class.
listOf(...)
Elements to combine into a list. All elements must be the same type.
x <- listOf(1L, 2L, 4:10) double <- function(x) x * 2 x %>>% double() x %>>% function(x) list(x, x) x %>+% function(x) list(x, x)
Run the code above in your browser using DataLab