is.tabular: Tabular Structure

Description Usage Arguments Value Examples

Description

Checks if object has "tabular" structure (not to confuse with table) - in this particular case, that means matrix and data.frame objects only.

Usage

1

Arguments

x

an object to be checked for "tabular" format

Value

a logical value indicating that provided object has tabular structure

Examples

1
2
3
4
5
6
is.tabular(HairEyeColor[, , 1])  # [1] TRUE
is.tabular(mtcars)               # [1] TRUE
is.tabular(table(mtcars$cyl))    # [1] FALSE
is.tabular(rnorm(100))           # [1] FALSE
is.tabular(LETTERS)              # [1] FALSE
is.tabular(pi)                   # [1] FALSE


Search within the rapportools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.