Re [R] What am I doing wrong with xyplot?

John S. Walker jsw9c at virginia.edu
Tue Apr 30 20:07:58 CEST 2002


G'day

A quick followup is that it doesn't always happen. I managed to reproduce it on a fresh start-up 
by adding the two lines indicated by arrows 

try this:
	x<-1:10
 	y<-sin(x)   #yes I know it's an under sampled function
   ->	plot(x,y)    ###These two lines are required to reproduce the 
   ->	lines(x,y)   ### behaviour
	xyplot(y~x)
	lines(x,y)  #at this point the lines do not lay on the xypoints
	spline(x,y)
	points(x,y)  # in my installation the points(x,y) do not lay on the xyplot points

John Walker

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list