seq_row()
creates a sequence along the number of rows of x
,
seq_col()
a sequence along the number of columns of x
.
seq_len0()
and seq_along0()
are the 0-based counterparts to base::seq_len()
and
base::seq_along()
.
seq_row(x)seq_col(x)
seq_len0(n)
seq_along0(x)
:: any
Arbitrary object. Used to query its rows, cols or length.
:: integer(1)
Length of the sequence.
# NOT RUN { seq_len0(3) # }