nrow()
and ncol()
return the number of rows or columns present in x.
nrow(x, ...)# S3 method for default
nrow(x, ...)
# S3 method for ddf_col
nrow(x, ...)
# S3 method for tbl_ddf
nrow(x, ...)
ncol(x, ...)
# S3 method for default
ncol(x, ...)
# S3 method for ddf_col
ncol(x, ...)
# S3 method for tbl_ddf
ncol(x, ...)
An integer or NULL
.
An object.
Other arguments passed on to methods.
These functions override base functions to make them generic. The default methods call the base versions.