File: speedvar.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 (9 lines) | stat: -rw-r--r-- 224 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
with(aircraft, {
hw <- nnbr(Speed, 30)
hw <- hw/exp(mean(log(hw)))
par(mfrow=c(1,2))
sm.density(Speed, yht=0.0022, positive=TRUE)
sm.density(Speed, yht=0.0022, xlim=c(-700,4000), h.weights=hw, nbins=0)
par(mfrow=c(1,1))
})