The R Project SVN R

Rev

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

Rev 69588 Rev 69952
Line 1... Line 1...
1
% File src/library/base/man/expand.grid.Rd
1
% File src/library/base/man/expand.grid.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-2010 R Core Team
3
% Copyright 1995-2015 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{expand.grid}
6
\name{expand.grid}
7
\title{Create a Data Frame from All Combinations of Factors}
7
\title{Create a Data Frame from All Combinations of Factor Variables}
-
 
8
\alias{expand.grid}
-
 
9
\concept{variable combinations}
-
 
10
\concept{variable permutations}
8
\usage{
11
\usage{
9
expand.grid(\dots, KEEP.OUT.ATTRS = TRUE, stringsAsFactors = TRUE)
12
expand.grid(\dots, KEEP.OUT.ATTRS = TRUE, stringsAsFactors = TRUE)
10
}
13
}
11
\alias{expand.grid}
-
 
12
\arguments{
14
\arguments{
13
  \item{\dots}{vectors, factors or a list containing these.}
15
  \item{\dots}{vectors, factors or a list containing these.}
14
  \item{KEEP.OUT.ATTRS}{a logical indicating the \code{"out.attrs"}
16
  \item{KEEP.OUT.ATTRS}{a logical indicating the \code{"out.attrs"}
15
    attribute (see below) should be computed and returned.}
17
    attribute (see below) should be computed and returned.}
16
  \item{stringsAsFactors}{logical specifying if character vectors are
18
  \item{stringsAsFactors}{logical specifying if character vectors are