
shape
parameter $a$, by default $=1$, and
scale
parameter $\sigma$ has density given by, by default $=1$,
rweibull
Weibull(shape, scale)
.
This object is a Weibull distribution."AbscontDistribution"
, directly.
Class "UnivariateDistribution"
, by class "AbscontDistribution"
.
Class "Distribution"
, by class "AbscontDistribution"
.WeibullParameter-class
AbscontDistribution-class
Reals-class
rweibull
W=Weibull(shape=1,scale=1) # W is a Weibull distribution with shape=1 and scale=1.
r(W)(1) # one random number generated from this distribution, e.g. 0.5204105
d(W)(1) # Density of this distribution is 0.3678794 for x=1.
p(W)(1) # Probability that x<1 is 0.6321206.
q(W)(.1) # Probability that x<0.1053605 is 0.1.
shape(W) # shape of this distribution is 1.
shape(W)=2 # shape of this distribution is now 2.
Run the code above in your browser using DataLab