ncol.colbycol {colbycol}R Documentation

Returns the number of rows/cols in a colbycol object

Description

This function extends the ncol function for regular data.frames.

Usage

## S3 method for class 'colbycol':
ncol(x)
## S3 method for class 'colbycol':
nrow(x)

Arguments

x a colbycol object

Value

An integer.

Author(s)

Carlos J. Gil Bellosta

See Also

ncol, nrow

Examples

    cbc.data <- cbc.read.table( system.file("data", "cbc.test.data.txt", package = "colbycol"), sep = "\t" )
    nrow( cbc.data )
    ncol( cbc.data )

[Package colbycol version 0.4 Index]