File: rc_plot.q

package info (click to toggle)
sm 2.0.14-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 992 kB
  • ctags: 26
  • sloc: fortran: 133; sh: 28; makefile: 13
file content (10 lines) | stat: -rw-r--r-- 281 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
provide.data(radioc)
par(mfrow=c(1,2))
plot(Cal.age, Rc.age)
abline(0,1,lty=2)
ind <- (Cal.age>2000 & Cal.age<3000)
cal.age <- Cal.age[ind]
rc.age  <-  Rc.age[ind]
sm.regression(cal.age, rc.age, h = 30)
sm.regression(cal.age, rc.age, h = 1000, lty = 2, add=TRUE)
par(mfrow=c(1,1))