File: mackplot.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 (9 lines) | stat: -rw-r--r-- 378 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
provide.data(mackerel)
Position  <- cbind(Latitude=mack.lat, Longitude=mack.long)
depth     <- mack.depth
par(mfrow=c(2,2))
sm.regression(Position,    log(Density), h=c(0.3, 0.3), hull=FALSE)
sm.regression(Position,    log(depth),   h=c(0.3, 0.3), hull=FALSE)
sm.regression(log(depth),  log(Density), h = 0.2)
sm.regression(Temperature, log(Density), h = 3)
par(mfrow = c(1,1))