The R Project SVN R

Rev

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

Rev 61173 Rev 61975
Line 1... Line 1...
1
% File src/library/stats/man/Weibull.Rd
1
% File src/library/stats/man/Weibull.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{Weibull}
6
\name{Weibull}
7
\alias{Weibull}
7
\alias{Weibull}
8
\alias{dweibull}
8
\alias{dweibull}
Line 36... Line 36...
36
  \code{pweibull} gives the distribution function,
36
  \code{pweibull} gives the distribution function,
37
  \code{qweibull} gives the quantile function, and
37
  \code{qweibull} gives the quantile function, and
38
  \code{rweibull} generates random deviates.
38
  \code{rweibull} generates random deviates.
39
 
39
 
40
  Invalid arguments will result in return value \code{NaN}, with a warning.
40
  Invalid arguments will result in return value \code{NaN}, with a warning.
-
 
41
 
-
 
42
  The length of the result is determined by \code{n} for
-
 
43
  \code{rweibull}, and is the maximum of the lengths of the
-
 
44
  numerical parameters for the other functions.  
-
 
45
  
-
 
46
  The numerical parameters other than \code{n} are recycled to the
-
 
47
  length of the result.  Only the first elements of the logical
-
 
48
  parameters are used.
41
}
49
}
42
\details{
50
\details{
43
  The Weibull distribution with \code{shape} parameter \eqn{a} and
51
  The Weibull distribution with \code{shape} parameter \eqn{a} and
44
  \code{scale} parameter \eqn{\sigma}{b} has density given by
52
  \code{scale} parameter \eqn{\sigma}{b} has density given by
45
  \deqn{f(x) = (a/\sigma) {(x/\sigma)}^{a-1} \exp (-{(x/\sigma)}^{a})}{f(x) = (a/b) (x/b)^(a-1) exp(- (x/b)^a)} for \eqn{x > 0}.
53
  \deqn{f(x) = (a/\sigma) {(x/\sigma)}^{a-1} \exp (-{(x/\sigma)}^{a})}{f(x) = (a/b) (x/b)^(a-1) exp(- (x/b)^a)} for \eqn{x > 0}.