something like
xyplot(y ~ x, data = d, groups = z,
panel = panel.superpose,
panel.groups = function(..., group.number) {
panel.xyplot(...)
span <- switch(group.number, 2/3, 1/4, 1/2)
panel.loess(..., span = span)
}, auto.key = list(lines = TRUE))
On Friday, April 30, 2010, Santosh wr
Within panel.superpose, the current group number is passed as
"group.number" to the "panel.groups" function.
On 29 April 2010 20:39, Gabor Grothendieck wrote:
> See ?panel.number for lattice functions that can be used in your panel
> function to discover which one is currently being drawn.
>
> O
See ?panel.number for lattice functions that can be used in your panel
function to discover which one is currently being drawn.
On Thu, Apr 29, 2010 at 6:28 AM, Santosh wrote:
> Dear R gurus..
>
> Is it possible to control span settings for different values of a grouping
> variable, when using xy
3 matches
Mail list logo