powered by
Generate GPH randomly and adjust parameters to fit its first moment to the first moment of data.
gph.param(data, skel, ...)
An instance of GPH
A dataframe
An instance of skeleton of GPH.
Others
## Create data wsample <- rweibull(10, shape=2) (dat <- data.frame.phase.time(x=wsample)) ## Generate PH that is fitted to dat (model <- gph.param(data=dat, skel=ph(5)))
Run the code above in your browser using DataLab