File: Chapter.7.3.R

package info (click to toggle)
r-cran-learnbayes 2.15.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,864 kB
  • sloc: sh: 15; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 332 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
##############################################
# 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)