File: mackplot.q

package info (click to toggle)
sm 2.2-6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,540 kB
  • sloc: f90: 259; ansic: 21; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
with(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))
})