The R Project SVN R

Rev

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

Rev 70857 Rev 71883
Line 1... Line 1...
1
% File src/library/utils/man/stack.Rd
1
% File src/library/utils/man/stack.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2016 R Core Team
3
% Copyright 1995-2017 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{stack}
6
\name{stack}
7
\alias{stack}
7
\alias{stack}
8
\alias{stack.default}
8
\alias{stack.default}
Line 44... Line 44...
44
  be used in an analysis of variance model or other linear model.  The
44
  be used in an analysis of variance model or other linear model.  The
45
  \code{unstack} function reverses this operation.
45
  \code{unstack} function reverses this operation.
46
 
46
 
47
  Note that \code{stack} applies to \emph{vectors} (as determined by
47
  Note that \code{stack} applies to \emph{vectors} (as determined by
48
  \code{\link{is.vector}}): non-vector columns (e.g., factors) will be
48
  \code{\link{is.vector}}): non-vector columns (e.g., factors) will be
49
  ignored (with a warning as from \R 2.15.0).  Where vectors of
49
  ignored with a warning.  Where vectors of different types are selected
50
  different types are selected they are concatenated by
-
 
51
  \code{\link{unlist}} whose help page explains how the type of the
50
  they are concatenated by \code{\link{unlist}} whose help page explains
52
  result is chosen.
51
  how the type of the result is chosen.
53
 
52
 
54
  These functions are generic: the supplied methods handle data frames
53
  These functions are generic: the supplied methods handle data frames
55
  and objects coercible to lists by \code{\link{as.list}}.
54
  and objects coercible to lists by \code{\link{as.list}}.
56
}
55
}
57
 
56