screeBIC: Scree plot of BIC's

Description Usage Arguments See Also Examples

Description

This function produces a scree plot on the basis of the BIC values in msBIC.

Usage

1
2
screeBIC(x, lty = 1, col = NA, pch = 19, type = "b", main = "BIC Screeplot", 
xlab = "Number of Components", ylab = "BIC", legpos = "topright", ...)

Arguments

x

Object of class mws from msBIC

lty

Line type

col

Line colors; if NA, colors are determined automatically

pch

Value for plotting points

type

Type of plot

main

Plot title

xlab

Label for x-axis

ylab

Label for y-axis

legpos

position of the legend

...

Additional plot parameters

See Also

msBIC

Examples

1
2
3
4
##Fitting all Weibull proportional hazard models for K=2,3,4 components
data(webshop)
res <- msBIC(webshop, K = c(2,3,4), method = "all", maxiter = 5)
screeBIC(res)

mixPHM documentation built on May 2, 2019, 8:16 a.m.