Plotting functions for hazard rates, survival times and cluster profiles.
1 2 3 4 5 6 7 8 9 10  plot_hazard(x, gr.subset, var.subset, group = TRUE, xlim = NA, ylim = NA,
xlab = "Survival Time", ylab = "Hazard Function", main = "Hazard Functions", type = "l",
lty = 1, lwd = 1, col = NA, legpos = "right", ...)
plot_survival(x, gr.subset, var.subset, group = TRUE, xlim = NA, ylim = NA,
xlab = "Survival Time", ylab = "Survival Function", main = "Survival Functions",
type = "l", lty = 1, lwd = 1, col = NA, legpos = "right", ...)
plot_profile(x, method = "mean", type = "b", pch = 19, lty = 1, lwd = 1, col = NA,
xlab = "Variables", leglab = NA, ylab = NA, main = NA, legpos = "topright", ...)

x 
object of class 
gr.subset 
Optional vector for plotting subset of clusters 
var.subset 
Optional vector for plotting subset of variables 
group 
if 
method 

xlim 
limits for xaxis 
ylim 
limits for yaxis 
xlab 
label for xaxis 
ylab 
label for yaxis 
main 
title of the plot 
leglab 
label for the legend 
type 
type of plot 
lty 
line type 
lwd 
line width 
pch 
type of plotting points 
col 
colors; if 
legpos 
position of the legend; 
... 
Additional plot options 
phmclust
1 2 3 4 5 6 7 8 9 10 11 12  ##Plots for mixture Weibull model with 3 components
data(webshop)
res < phmclust(webshop, 3)
##Hazard plot for first and third group, all pages
plot_hazard(res, gr.subset = c(1,3), group = TRUE, xlab = "Dwell Time")
##Survival plot for each group, first 6 pages
plot_survival(res, var.subset= 1:6, group = FALSE, xlab = "Dwell Time")
##Cluster profile plot
plot_profile(res, xlab = "Pages", ylab = "Mean Dwell Time", main = "Cluster Profile")

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.