powered by
seq_col(x) is a convenient wrapper for seq_len(ncol(x)), while seq_row(x) is a convenient wrapper for seq_len(nrow(x)).
seq_col(x)
seq_len(ncol(x))
seq_row(x)
seq_len(nrow(x))
seq_col(x)seq_row(x)
A data frame.
A numeric sequence from 1 to number of columns or rows.
# NOT RUN { data(iris) seq_col(iris) seq_row(iris) # }
Run the code above in your browser using DataLab