The R Project SVN R

Rev

Rev 71883 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 71883 Rev 85983
Line 8... Line 8...
8
\alias{stack.default}
8
\alias{stack.default}
9
\alias{stack.data.frame}
9
\alias{stack.data.frame}
10
\alias{unstack}
10
\alias{unstack}
11
\alias{unstack.default}
11
\alias{unstack.default}
12
\alias{unstack.data.frame}
12
\alias{unstack.data.frame}
13
\title{Stack or Unstack Vectors from a Data Frame or List}
13
\title{Stack or \I{Unstack} Vectors from a Data Frame or List}
14
\description{
14
\description{
15
  Stacking vectors concatenates multiple vectors into a single vector
15
  Stacking vectors concatenates multiple vectors into a single vector
16
  along with a factor indicating where each observation originated.
16
  along with a factor indicating where each observation originated.
17
  Unstacking reverses this operation.
17
  \I{Unstacking} reverses this operation.
18
}
18
}
19
\usage{
19
\usage{
20
stack(x, \dots)
20
stack(x, \dots)
21
\method{stack}{default}(x, drop=FALSE, \dots)
21
\method{stack}{default}(x, drop=FALSE, \dots)
22
\method{stack}{data.frame}(x, select, drop=FALSE, \dots)
22
\method{stack}{data.frame}(x, select, drop=FALSE, \dots)