The R Project SVN R

Rev

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

Rev 20807 Rev 23519
Line 1... Line 1...
1
\name{print.data.frame}
1
\name{print.data.frame}
2
\title{Printing Data Frames}
2
\title{Printing Data Frames}
3
\alias{print.data.frame}
3
\alias{print.data.frame}
4
\description{
4
\description{
5
  These functions create or manipulate data frames, tightly coupled
-
 
6
  collections of variables which share many of the properties of
-
 
7
  matrices and of lists, used as the fundamental data structure by most
-
 
8
  of \R's modeling software.
5
  Print a data frame.
9
}
6
}
10
\usage{
7
\usage{
11
\method{print}{data.frame}(x, \dots, digits = NULL, quote = FALSE, right = TRUE)
8
\method{print}{data.frame}(x, \dots, digits = NULL, quote = FALSE, right = TRUE)
12
}
9
}
13
\arguments{
10
\arguments{
14
  \item{x}{object of class \code{data.frame}.}
11
  \item{x}{object of class \code{data.frame}.}
15
  \item{\dots}{optional arguments to \code{print} or \code{plot} methods.}
12
  \item{\dots}{optional arguments to \code{print} or \code{plot} methods.}
16
  \item{digits}{the minimum number of significant digits to be used.}
13
  \item{digits}{the minimum number of significant digits to be used.}
17
  \item{quote}{logical, indicating whether or not strings
14
  \item{quote}{logical, indicating whether or not entries should be
18
    (\code{\link{character}}s) should be printed with surrounding quotes.}
15
    printed with surrounding quotes.}
19
  \item{right}{logical, indicating whether or not strings should be
16
  \item{right}{logical, indicating whether or not strings should be
20
    right-aligned. The default is left-alignment.}
17
    right-aligned. The default is left-alignment.}
21
}
18
}
22
\value{
19
\details{
23
  For the \code{\link{print}} method (\code{print.data.frame}), see
20
  This calls \code{\link{format}} which formats the data frame
-
 
21
  column-by-column, then converts to a character matrix and dispatches
24
  \code{\link{print.matrix}}.
22
  to the \code{print} method for matrices.
25
}
23
 
-
 
24
  When \code{quote = TRUE} only the entries are quoted not the row names
-
 
25
  nor the column names.
26
}
26
}
27
\seealso{
27
\seealso{
28
  \code{\link{data.frame}}.
28
  \code{\link{data.frame}}.
29
}
29
}
30
\keyword{print}
30
\keyword{print}