library(Daim)
data(Daim.data1)
perform <- performDaim(Daim.data1$prob.oob, Daim.data1$labels, Daim.data1$prob.app)
summary(perform)
par(mfrow=c(2,2))
plot(perform, method="0.632+", legend=TRUE)
plot(perform, method="sample")
plot(perform, method="0.632+", main="Comparison between methods")
plot(perform, method="0.632", col="blue", add=TRUE)
plot(perform, method="loob", col="green", add=TRUE)
legend("bottomright", c("0.632+","0.632","loob"),
col=c("red","blue","green"), lty=1, inset=0.01)
plot(perform, all.roc=TRUE)
####
#### If your device don't support the semi-transparent colors use
#### the PDF Graphics Device.
####
## Not run:
# pdf("plot-Daim.pdf")
# plot(perform, method="0.632+")
# plot(perform, method="sample")
# plot(perform, method="0.632+", main="Comparison between methods")
# plot(perform, method="0.632", col="blue", add=TRUE)
# plot(perform, method="loob", col="green", add=TRUE)
# legend("bottomright", c("0.632+","0.632","loob"),
# col=c("red","blue","green"), lty=1, inset=0.01)
# plot(perform, all.roc=TRUE)
# dev.off()
# ## End(Not run)
Run the code above in your browser using DataLab