powered by
list_of
list_of_ptype() returns the ptype required by the list_of. If no ptype is required, then NULL is returned.
list_of_ptype()
ptype
NULL
list_of_size() returns the size required by the list_of. If no size is required, then NULL is returned.
list_of_size()
size
list_of_ptype(x)list_of_size(x)
list_of_size(x)
A list_of.
x <- list_of(1, 2) list_of_ptype(x) list_of_size(x) x <- list_of(.ptype = integer(), .size = 5) list_of_ptype(x) list_of_size(x)
Run the code above in your browser using DataLab