View source: R/model_herlang.R
herlang.param | R Documentation |
Determine the hyper-Erlang parameters with k-means.
herlang.param(data, shape, ...)
data |
A dataframe |
shape |
A vector of shape parameters |
... |
Others |
An instance of HErlang
## Create data wsample <- rweibull(10, shape=2) (dat <- data.frame.phase.time(x=wsample)) ## Generate PH that is fitted to dat (model <- herlang.param(data=dat, shape=c(1,2,3)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.