Displaying 1 result from an estimated 1 matches for "overalay".
Did you mean:
overal
2007 Jan 29
1
overlay xyplot on contourplot in lattice in R
...ery easy thing to do.
I've tried it in many ways, but I haven't succeeded at obtaining it.
let's say x, y, and z as the variables that comes from the data frame ''ex'':
therefore my countourplot is as followed :
contourplot(z ~ x * y, cuts=550)
I would like then to overalay on it xx and yy (same variables as x and y but in
another data frame let's say ''example'')
xyplot(example$xx, example$yy)
How can I do it?
It seems I could do it with the panel.contourplot and panel.xyplot options, but
until now I haven't suceeded. I found this command t...