data.frame {base} | R Documentation |
data.frame(..., row.names = NULL, col.names = NULL, as.is = FALSE)
as.data.frame(x)
is.data.frame(x)
row.names(data.frame.obj)
print(data.frame.obj)
... |
these arguments are of either the form |
row.names |
a character vector giving the row names for the data frame. |
col.names |
a character vector giving names for the variables in the data frame. |
as.is |
a logical value indicating whether character variables should be left “as is” or converted to factors. |
A data frame. Data frames are the fundamental data structure used by most of R's modeling software. They are tightly coupled collections of variables which share many of the properties of matrices. The main difference being that the columns of a data frame may be of differing types (numeric, factor and character).
as.data.frame
attempts to coerce its argument to be a data
frame.
is.data.frame
returns TRUE
if its argument is a data
frame and FALSE
otherwise.
read.table
.