I am writing code for drawing weibull plot in R. There are already some libraries for weibull and they are excellent. But they require ready beta and eta values for calculation of weibull function. In regular practice it is calculated from actual plotting on weibull paper. But is there any algorithm for calculating beta and eta?