vector-len {rlang} | R Documentation |
These functions construct vectors of given length, with attributes
specified via dots. Except for list_len()
and bytes_len()
, the
empty vectors are filled with typed missing values. This is in
contrast to the base function base::vector()
which creates
zero-filled vectors.
lgl_len(.n) int_len(.n) dbl_len(.n) chr_len(.n) cpl_len(.n) raw_len(.n) bytes_len(.n) list_len(.n)
.n |
The vector length. |
vector-along
list_len(10) lgl_len(10)