A special type of plot where Weibull distributed data plots as a straight line. This was also originally called Rayleigh paper. Both Rayleigh and exponential distributions also plot as straight lines.
weiplot(data, n =70, type ="p", xlim =NULL, ylim = c(0.01,10), main ="Weibull Plot", sub =NULL, ylab ="log(1/1-F(x))", ylab2 ="F(x)", xlab ="x", percent ="False")
Arguments
data: data values from which a cumulative density function will be estimated using ecdf(data)
n: number of points required in plot (default n = 70).
type: plot type
xlim: the minimum and maximum to be used for the x-axis
ylim: the minimum and maximum to be used for the y-axis
main: the title of the plot
sub: the sub-title of the plot
ylab: the title of the left y-axis
ylab2: the title of the right y-axis
xlab: the title of the x-axis
percent: logical; display right hand axis as percentages
Details
A Weibull plot uses log paper and has log(1/(1-F(x)) versus x, where the data values x have an empirical cdf of F(x). The plot margins may need to be adjusted so that the right hand axis is visible.