Use the cumulative distribution function of Weibull in R
问题 I have to simulate a system's fail times, to do so I have to use the Weibull distribution with a "decreasing hazard rate" and a shape of "0.7-0.8". I have to generate a file with 100 results for the function that uses random numbers from 0 to 1. So I've been searching a bit and I found this R function: pweibull(q, shape, scale = 1, lower.tail = T, log.p = F) There are some other (rweibull,qweibull...) but I think this is the one that I have to use, since is the cumulative distribution one, as