
Last chance! 50% off unlimited learning
Sale ends in
panel.plotFun(object, ..., type = "l", npts = NULL, zlab = NULL,
filled = TRUE, levels = NULL, nlevels = 10, surface = FALSE,
col.regions = topo.colors, alpha = NULL, discontinuity = NULL,
discontinuities = NULL)
lattice
panel functions
such as panel.xyplot
or panel.levelplot
.
Frequen"l"
by default)TRUE
by default)levels
not specified)topo.colors
by default) for generating suchdiscontinuity = Inf
to disable discontinuity detection. Discontinuity detection
uses a crNULL
to use
a heuristic to auto-detect.x <- runif(30,0,2*pi)
d <- data.frame( x = x, y = sin(x) + rnorm(30,sd=.2) )
xyplot( y ~ x, data=d )
ladd(panel.plotFun( sin(x) ~ x, col='red' ) )
xyplot( y ~ x | rbinom(30,1,.5), data=d )
ladd(panel.plotFun( sin(x) ~ x, col='red', lty=2 ) ) # plots sin(x) in each panel
Run the code above in your browser using DataLab