R: Generate sequences along rows or cols.

seq_row {BBmisc} | R 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)

[Package BBmisc version 1.11 Index]