# [R] lty=2

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Thu Mar 11 08:42:22 CET 1999

```David Scott <d.scott at auckland.ac.nz> writes:

> I have experienced the same problem as Simon. Here is a very simple
> example:
> > occup
>  [1] 0.561 0.702 0.800 0.568 0.575 0.738 0.868 0.605 0.594 0.738 0.729 0.600 0.622 0.708
> [15] 0.806 0.632 0.665 0.835 0.873 0.670
> > m.a.occup
>  [1]       NA       NA 0.659500 0.665750 0.678750 0.691875 0.698875 0.701250 0.683875
> [10] 0.665875 0.668750 0.668500 0.674375 0.688000 0.697375 0.718625 0.742875 0.756000
> [19]       NA       NA
> > plot(occup)
> > lines(occup)
> > lines(m.a.occup,lty=2)

You mean:

occup<-c(0.561, 0.702, 0.800, 0.568, 0.575, 0.738,
0.868, 0.605, 0.594, 0.738, 0.729, 0.600, 0.622, 0.708,
0.806, 0.632, 0.665, 0.835, 0.873, 0.670)
m.a.occup<-c(NA,NA, 0.659500, 0.665750, 0.678750, 0.691875, 0.698875,
0.701250, 0.683875,
0.665875, 0.668750, 0.668500, 0.674375, 0.688000, 0.697375,
0.718625, 0.742875, 0.756000,
NA, NA)
plot(occup)
lines(occup)
lines(m.a.occup,lty=2)

(Just saving the next guy a bit of typing. Use dput(occup) etc. if you
want people to be able to reproduce your data easily.)

The effect isn't visible on Unix/X11.

--
O__  ---- Peter Dalgaard             Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics     2200 Cph. N
(*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

```