nrow-ncol: The number of rows/columns

nrow-ncolR Documentation

The number of rows/columns

Description

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

Usage

nrow(x, ...)

## Default S3 method:
nrow(x, ...)

## S3 method for class 'ddf_col'
nrow(x, ...)

## S3 method for class 'tbl_ddf'
nrow(x, ...)

ncol(x, ...)

## Default S3 method:
ncol(x, ...)

## S3 method for class 'ddf_col'
ncol(x, ...)

## S3 method for class 'tbl_ddf'
ncol(x, ...)

Arguments

x

An object.

...

Other arguments passed on to methods.

Details

These functions override base functions to make them generic. The default methods call the base versions.

Value

An integer or NULL.


dibble documentation built on April 4, 2025, 6:07 a.m.