as.data.frame.garray {garray}R Documentation

Coerce to a Data Frame

Description

Convert a 2D generalized array into a data.frame, making print() work correctly.

Usage

## S3 method for class 'garray'
as.data.frame(x, row.names = NULL, optional = FALSE,
  col.names = NULL, ..., stringsAsFactors = FALSE)

Arguments

x

A generalized array object.

row.names, optional, stringsAsFactors, ...

See the same arguments in ?as.data.frame.

col.names

'NULL' or a character vector giving the column names.


[Package garray version 1.1.2 Index]