nrow {base} R Documentation

The Number of Rows/Columns of an Array

Description


nrow and ncol return the number of rows or columns present in x.

Usage

nrow(x);

Arguments

x

a vector, array, data frame, or NULL.

env

[as Environment]

Details

Authors

SMRUCC genomics Institute

Value

an integer of length 1 or NULL, the latter only for ncol and nrow.

clr value class

Examples


[Package base version 2.33.856.6961 Index]