The R Project SVN R

Rev

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

Rev 61433 Rev 61975
Line 1... Line 1...
1
% File src/library/stats/man/Geometric.Rd
1
% File src/library/stats/man/Geometric.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-2007 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{Geometric}
6
\name{Geometric}
7
\alias{Geometric}
7
\alias{Geometric}
8
\alias{dgeom}
8
\alias{dgeom}
Line 47... Line 47...
47
  \code{pgeom} gives the distribution function,
47
  \code{pgeom} gives the distribution function,
48
  \code{qgeom} gives the quantile function, and
48
  \code{qgeom} gives the quantile function, and
49
  \code{rgeom} generates random deviates.
49
  \code{rgeom} generates random deviates.
50
 
50
 
51
  Invalid \code{prob} will result in return value \code{NaN}, with a warning.
51
  Invalid \code{prob} will result in return value \code{NaN}, with a warning.
-
 
52
 
-
 
53
  The length of the result is determined by \code{n} for
-
 
54
  \code{rgeom}, and is the maximum of the lengths of the
-
 
55
  numerical parameters for the other functions.  
-
 
56
  
-
 
57
  The numerical parameters other than \code{n} are recycled to the
-
 
58
  length of the result.  Only the first elements of the logical
-
 
59
  parameters are used.
52
}
60
}
53
\source{
61
\source{
54
  \code{dgeom} computes via \code{dbinom}, using code contributed by
62
  \code{dgeom} computes via \code{dbinom}, using code contributed by
55
  Catherine Loader (see \code{\link{dbinom}}).
63
  Catherine Loader (see \code{\link{dbinom}}).
56
 
64