r_rsize_Weibull: Weibull size biased random number generation of order r...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/r_rsize_Weibull.R

Description

Provides a random sample of size n from the r-size biased Weibull distribution (modified).

Usage

1
r_rsize_Weibull(n,TRpar,r) 

Arguments

n

Number of th sample data points to be provided.

TRpar

A vector of length 2, containing the shape and scale parameters of the distribution.

r

The size (order) of the distribution. The special cases r=1,2,3 correspond to length, area, volume biased samples respectively and are the most frequently encountered in practice. The case r=0 corresponds to random samples from the Weibull distribution.

Details

The r-size random number generator from the Weibull distribution is implemented based on a change-of-variable technique, to the standard gamma distribution as described by Gove and Patil (1998).

Value

A vector of length n with the random sample.

Author(s)

Polychronis Economou

R implementation and documentation: Polychronis Economou <peconom@upatras.gr>

References

Gove J.H. and Patil G.P. (1998). Modeling the Basal Area-size Distribution of Forest Stands: A Compatible Approach. Forest Science, 44(2), 285-297.

See Also

d_rsize_Weibull, p_rsize_Weibull

Examples

1
2
#Random number geenration for the r-size Weibull distribution.
r_rsize_Weibull(100,c(2,3),1)

RSizeBiased documentation built on March 29, 2021, 9:11 a.m.