plotVA | R Documentation |
Plot top CSMF for a fitted model
plotVA(object, top = 10, title = NULL, ...)
object |
a fitted object using |
top |
number of top causes to plot |
title |
title of the plot |
... |
additional arguments passed to |
plot.insilico
in package InSilicoVA, CSMF
in package InterVA4, CSMF5
in package InterVA5, plot.tariff
in package Tariff.
Other visualization:
stackplotVA()
data(RandomVA3)
test <- RandomVA3[1:200, ]
train <- RandomVA3[201:400, ]
fit1 <- codeVA(data = test, data.type = "customize", model = "InSilicoVA",
data.train = train, causes.train = "cause",
Nsim=1000, auto.length = FALSE)
fit2 <- codeVA(data = test, data.type = "customize", model = "InterVA",
data.train = train, causes.train = "cause",
version = "4.02", HIV = "h", Malaria = "l")
fit3 <- codeVA(data = test, data.type = "customize", model = "Tariff",
data.train = train, causes.train = "cause",
nboot.sig = 100)
plotVA(fit1)
plotVA(fit2)
plotVA(fit3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.