| Line 1... |
Line 1... |
| 1 |
% File src/library/base/man/Extract.data.frame.Rd
|
1 |
% File src/library/base/man/Extract.data.frame.Rd
|
| 2 |
% Part of the R package, http://www.R-project.org
|
2 |
% Part of the R package, http://www.R-project.org
|
| 3 |
% Copyright 1995-2010 R Core Team
|
3 |
% Copyright 1995-2013 R Core Team
|
| 4 |
% Distributed under GPL 2 or later
|
4 |
% Distributed under GPL 2 or later
|
| 5 |
|
5 |
|
| 6 |
\name{Extract.data.frame}
|
6 |
\name{Extract.data.frame}
|
| 7 |
\alias{[.data.frame}
|
7 |
\alias{[.data.frame}
|
| 8 |
\alias{[[.data.frame}
|
8 |
\alias{[[.data.frame}
|
| Line 131... |
Line 131... |
| 131 |
description here.
|
131 |
description here.
|
| 132 |
}
|
132 |
}
|
| 133 |
\value{
|
133 |
\value{
|
| 134 |
For \code{[} a data frame, list or a single column (the latter two
|
134 |
For \code{[} a data frame, list or a single column (the latter two
|
| 135 |
only when dimensions have been dropped). If matrix indexing is used for
|
135 |
only when dimensions have been dropped). If matrix indexing is used for
|
| 136 |
extraction a matrix results. If the result would be a data frame an
|
136 |
extraction a vector results. If the result would be a data frame an
|
| 137 |
error results if undefined columns are selected (as there is no general
|
137 |
error results if undefined columns are selected (as there is no general
|
| 138 |
concept of a 'missing' column in a data frame). Otherwise if a single
|
138 |
concept of a 'missing' column in a data frame). Otherwise if a single
|
| 139 |
column is selected and this is undefined the result is \code{NULL}.
|
139 |
column is selected and this is undefined the result is \code{NULL}.
|
| 140 |
|
140 |
|
| 141 |
For \code{[[} a column of the data frame or \code{NULL}
|
141 |
For \code{[[} a column of the data frame or \code{NULL}
|