The R Project SVN R

Rev

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

Rev 61168 Rev 61919
Line 1... Line 1...
1
% File src/library/stats/man/xtabs.Rd
1
% File src/library/stats/man/xtabs.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-2009 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
\newcommand{\CRANpkg}{\href{http://CRAN.R-project.org/package=#1}{\pkg{#1}}}
6
\newcommand{\CRANpkg}{\href{http://CRAN.R-project.org/package=#1}{\pkg{#1}}}
7
 
7
 
8
\name{xtabs}
8
\name{xtabs}
Line 56... Line 56...
56
  only handles 2-d tables).
56
  only handles 2-d tables).
57
 
57
 
58
  If a left hand side is given in \code{formula}, its entries are simply
58
  If a left hand side is given in \code{formula}, its entries are simply
59
  summed over the cells corresponding to the right hand side; this also
59
  summed over the cells corresponding to the right hand side; this also
60
  works if the lhs does not give counts.
60
  works if the lhs does not give counts.
-
 
61
  
-
 
62
  For variables in \code{formula} which are factors, \code{exclude}
-
 
63
  must be specified explicitly; the default exclusions will not be used.  
61
}
64
}
62
\value{
65
\value{
63
  By default, when \code{sparse = FALSE},
66
  By default, when \code{sparse = FALSE},
64
  a contingency table in array representation of S3 class \code{c("xtabs",
67
  a contingency table in array representation of S3 class \code{c("xtabs",
65
    "table")}, with a \code{"call"} attribute storing the matched call.
68
    "table")}, with a \code{"call"} attribute storing the matched call.