Displaying 1 result from an estimated 1 matches for "hogbin".
Did you mean:
hongbin
2010 Oct 22
1
xyplot inside a loop
Hi,
I am using lattice package and like to do this:
library(lattice)
for(i in 1:10){
xyplot(rnorm(100) ~ rnorm(100))
Sys.sleep(0.5)
}
But the display could not show on R device for some reasons. My real xyplot is more complicate, e.g., I like to simulate an animation with 4 panels. But the simple code above wont work...
Help please.
Hongbin
[[alternative HTML version deleted]]