Description Usage Arguments Examples
This function plots the CSMF of the fitted results.
1 2 |
x |
fitted object from |
top |
maximum causes to plot |
min.prob |
minimum fraction for the causes plotted |
... |
Arguments to be passed to/from graphic function |
1 2 3 4 5 6 7 8 | data("RandomVA3")
test <- RandomVA3[1:200, ]
train <- RandomVA3[201:400, ]
allcauses <- unique(train$cause)
fit <- tariff(causes.train = "cause", symps.train = train,
symps.test = test, causes.table = allcauses)
plot(fit, top = 10, main = "Top 5 population COD distribution")
plot(fit, min.prob = 0.05, main = "Ppulation COD distribution (at least 5%)")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.