seq_row: Generate sequences along rows or cols.

View source: R/seq.R

seq_rowR Documentation

Generate sequences along rows or cols.

Description

A simple convenience wrapper around seq_len.

Usage

seq_row(x)

seq_col(x)

Arguments

x

[data.frame | matrix]
Data frame, matrix or any object which supports nrow or ncol, respectively.

Value

Vector of type [integer].

Examples

data(iris)
seq_row(iris)
seq_col(iris)

BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.

Related to seq_row in BBmisc...