The R Project SVN R

Rev

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

Rev 27625 Rev 27928
Line 22... Line 22...
22
  The functions \code{cbind} and \code{rbind} are generic, with methods
22
  The functions \code{cbind} and \code{rbind} are generic, with methods
23
  for data frames.  The data frame method will be used if an argument is
23
  for data frames.  The data frame method will be used if an argument is
24
  a data frame and the rest are vectors or matrices.  There can be other
24
  a data frame and the rest are vectors or matrices.  There can be other
25
  methods; in particular, there is one for time series objects.
25
  methods; in particular, there is one for time series objects.
26
 
26
 
-
 
27
  Data frames can be \code{cbind}-ed with matrices, in which case
-
 
28
  each matrix forms a single column in the result, unlike calling
-
 
29
  \code{\link{data.frame}}.
-
 
30
 
27
  The \code{rbind} data frame method takes the classes of the columns
31
  The \code{rbind} data frame method takes the classes of the columns
28
  from the first
32
  from the first
29
  data frame.  Factors have their levels expanded as necessary (in
33
  data frame.  Factors have their levels expanded as necessary (in
30
  the order of the levels of the levelsets of the factors encountered)
34
  the order of the levels of the levelsets of the factors encountered)
31
  and the result is an ordered factor if and only if all the components
35
  and the result is an ordered factor if and only if all the components