The R Project SVN R

Rev

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

Rev 27625 Rev 27928
Line 93... Line 93...
93
  When \code{[} is used with a logical matrix, each value is coerced to
93
  When \code{[} is used with a logical matrix, each value is coerced to
94
  the type of the column in which it is to be placed.
94
  the type of the column in which it is to be placed.
95
 
95
 
96
  When  \code{[} and \code{[[} are used with two indices, the
96
  When  \code{[} and \code{[[} are used with two indices, the
97
  column will be coerced as necessary to accommodate the value.
97
  column will be coerced as necessary to accommodate the value.
-
 
98
 
-
 
99
  Note that when the replacement value is an array (including a matrix)
-
 
100
  it is \emph{not} treated as a series of columns (as
-
 
101
  \code{\link{data.frame}} and \code{\link{as.data.frame}} do) but
-
 
102
  inserted as a single column.
98
}
103
}
99
\section{Warning}{
104
\section{Warning}{
100
  Although the default for \code{drop} is \code{TRUE}, the default
105
  Although the default for \code{drop} is \code{TRUE}, the default
101
  behaviour  when only one \emph{row} is left is equivalent to
106
  behaviour  when only one \emph{row} is left is equivalent to
102
  specifying \code{drop = FALSE}.  To drop from a data frame to a list,
107
  specifying \code{drop = FALSE}.  To drop from a data frame to a list,