Displaying 1 result from an estimated 1 matches for "horozont".
Did you mean:
horizont
2007 Mar 27
1
impose points on lattice plot
...to superimpose the average(vekt) by 'aldur'
conditioned to kyn by using something like:
xyplot(vekt~aldur|kyn, subset = aldur <= 12
, data = sexSu, panel = function(x, y)
{
panel.xyplot(x, y)
panel.points(x,mean(y),col=2,cex=2 )
})
but th output is just a horozontal line ( the average of 'vekt')
in both panels I guess)
How can be done?
Thanks in advance
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system...