| weimle1 | R Documentation |
Fit the shape and scale parameters for a Weibull distribution to the time-to-event data using MLE.
weimle1(time, status)
time |
A vector of event times |
status |
A vector of 0-1 censoring status, 0 for censored, 1 for observed |
A list including out (the return from mle()), shape, and scale
time <- rexp(100)
status <- rbinom(n=100, size=1, prob=0.5)
weimle1(time=time, status=status)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.