seq_col: Sequence generation for column or row counts of data frames

View source: R/seq_col.R

seq_colR Documentation

Sequence generation for column or row counts of data frames

Description

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)).

Usage

seq_col(x)

seq_row(x)

Arguments

x

A data frame.

Value

A numeric sequence from 1 to number of columns or rows.

Examples

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


sjPlot/sjmisc documentation built on May 15, 2024, 6:43 p.m.