The R Project SVN R

Rev

Rev 59039 | Rev 66931 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59039 Rev 61433
Line 35... Line 35...
35
as.data.frame(x, row.names = NULL, optional = FALSE, \dots)
35
as.data.frame(x, row.names = NULL, optional = FALSE, \dots)
36
 
36
 
37
\method{as.data.frame}{character}(x, \dots,
37
\method{as.data.frame}{character}(x, \dots,
38
              stringsAsFactors = default.stringsAsFactors())
38
              stringsAsFactors = default.stringsAsFactors())
39
 
39
 
40
\method{as.data.frame}{matrix}(x, row.names = NULL, optional = FALSE, \dots, 
40
\method{as.data.frame}{matrix}(x, row.names = NULL, optional = FALSE, \dots,
41
              stringsAsFactors = default.stringsAsFactors())
41
              stringsAsFactors = default.stringsAsFactors())
42
 
42
 
43
is.data.frame(x)
43
is.data.frame(x)
44
}
44
}
45
\arguments{
45
\arguments{
Line 83... Line 83...
83
  Character variables are converted to factor columns unless protected
83
  Character variables are converted to factor columns unless protected
84
  by \code{\link{I}}.
84
  by \code{\link{I}}.
85
 
85
 
86
  If a data frame is supplied, all classes preceding \code{"data.frame"}
86
  If a data frame is supplied, all classes preceding \code{"data.frame"}
87
  are stripped, and the row names are changed if that argument is supplied.
87
  are stripped, and the row names are changed if that argument is supplied.
88
  
88
 
89
  If \code{row.names = NULL}, row names are constructed from the names
89
  If \code{row.names = NULL}, row names are constructed from the names
90
  or dimnames of \code{x}, otherwise are the integer sequence
90
  or dimnames of \code{x}, otherwise are the integer sequence
91
  starting at one.  Few of the methods check for duplicated row names.
91
  starting at one.  Few of the methods check for duplicated row names.
92
  Names are removed from vector columns unless \code{\link{I}}.
92
  Names are removed from vector columns unless \code{\link{I}}.
93
}
93
}