demo/Chapter.7.3.R

##############################################
# Section 7.3 Individual or Combined Estimates
##############################################

 library(LearnBayes)
 data(hearttransplants)
 attach(hearttransplants)

 plot(log(e), y/e, xlim=c(6,9.7), xlab="log(e)", ylab="y/e")
 text(log(e),y/e,labels=as.character(y),pos=4)

Try the LearnBayes package in your browser

Any scripts or data that you put into this service are public.

LearnBayes documentation built on May 1, 2019, 7:03 p.m.