The R Project SVN R

Rev

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

Rev 61168 Rev 61975
Line 1... Line 1...
1
% File src/library/stats/man/NegBinomial.Rd
1
% File src/library/stats/man/NegBinomial.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
\name{NegBinomial}
6
\name{NegBinomial}
7
\alias{NegBinomial}
7
\alias{NegBinomial}
8
\alias{dnbinom}
8
\alias{dnbinom}
Line 71... Line 71...
71
  \code{qnbinom} gives the quantile function, and
71
  \code{qnbinom} gives the quantile function, and
72
  \code{rnbinom} generates random deviates.
72
  \code{rnbinom} generates random deviates.
73
 
73
 
74
  Invalid \code{size} or \code{prob} will result in return value
74
  Invalid \code{size} or \code{prob} will result in return value
75
  \code{NaN}, with a warning.
75
  \code{NaN}, with a warning.
-
 
76
  
-
 
77
  The length of the result is determined by \code{n} for
-
 
78
  \code{rnbinom}, and is the maximum of the lengths of the
-
 
79
  numerical parameters for the other functions.  
-
 
80
  
-
 
81
  The numerical parameters other than \code{n} are recycled to the
-
 
82
  length of the result.  Only the first elements of the logical
-
 
83
  parameters are used.
76
}
84
}
77
\source{
85
\source{
78
  \code{dnbinom} computes via binomial probabilities, using code
86
  \code{dnbinom} computes via binomial probabilities, using code
79
  contributed by Catherine Loader (see \code{\link{dbinom}}).
87
  contributed by Catherine Loader (see \code{\link{dbinom}}).
80
 
88