The R Project SVN R

Rev

Rev 22858 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 22858 Rev 22941
Line 9... Line 9...
9
r2dtable(n, r, c)
9
r2dtable(n, r, c)
10
}
10
}
11
\arguments{
11
\arguments{
12
  \item{n}{a non-negative numeric giving the number of tables to be
12
  \item{n}{a non-negative numeric giving the number of tables to be
13
    drawn.}
13
    drawn.}
14
  \item{r}{a non-negative vector of positive length giving the row
14
  \item{r}{a non-negative vector of length at least 2 giving the row
15
    totals, to be coerced to \code{integer}.  Must sum to the same as
15
    totals, to be coerced to \code{integer}.  Must sum to the same as
16
    \code{c}.}
16
    \code{c}.}
17
  \item{c}{a non-negative vector of positive length giving the column
17
  \item{c}{a non-negative vector of length at least 2 giving the column
18
    totals, to be coerced to \code{integer}.}
18
    totals, to be coerced to \code{integer}.}
19
}
19
}
20
\value{
20
\value{
21
  A list of length \code{n} containing the generated tables as its
21
  A list of length \code{n} containing the generated tables as its
22
  components.
22
  components.