The R Project SVN R

Rev

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

Rev 68948 Rev 74265
Line 1... Line 1...
1
% File src/library/stats/man/r2dtable.Rd
1
% File src/library/stats/man/r2dtable.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-2007 R Core Team
3
% Copyright 1995-2018 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{r2dtable}
6
\name{r2dtable}
7
\alias{r2dtable}
7
\alias{r2dtable}
8
\title{Random 2-way Tables with Given Marginals}
8
\title{Random 2-way Tables with Given Marginals}
Line 25... Line 25...
25
\value{
25
\value{
26
  A list of length \code{n} containing the generated tables as its
26
  A list of length \code{n} containing the generated tables as its
27
  components.
27
  components.
28
}
28
}
29
\references{
29
\references{
30
  Patefield, W. M. (1981)
30
  Patefield, W. M. (1981).
31
  Algorithm AS159.  An efficient method of generating r x c tables
31
  Algorithm AS 159: An efficient method of generating r x c tables
32
  with given row and column totals.
32
  with given row and column totals.
33
  \emph{Applied Statistics} \bold{30}, 91--97.
33
  \emph{Applied Statistics}, \bold{30}, 91--97.
-
 
34
  \doi{10.2307/2346669}.
34
}
35
}
35
\examples{
36
\examples{
36
## Fisher's Tea Drinker data.
37
## Fisher's Tea Drinker data.
37
TeaTasting <-
38
TeaTasting <-
38
matrix(c(3, 1, 1, 3),
39
matrix(c(3, 1, 1, 3),