R code for the K-distribution (dk, pk, qk and rk), as well as Weibull plots.
install.packages('kdist')