Sorry, I should have
xyplot(AbvBioAnnProd ~ Year | factor(Plot), type = c("b", "r"), pch = 16)
On Mon, Mar 16, 2009 at 6:17 AM, Sundar Dorai-Raj wrote:
> Convert "Plot" to factor:
>
> xyplot(AbvBioAnnProd ~ Year | Plot, type = c("b", "r"), pch = 16)
>
> Also note that using the "type" argument w
You should look again at the first example on the xyplot help page,
run it, and pay attention to how the strip function works. All should
be revealed.
I suspect you want something like:
xyplot(AbvBioAnnProd~Year|Plot,panel=function(x,y){
panel.xyplot(x,y,type="b",pch=16,
strip =
Convert "Plot" to factor:
xyplot(AbvBioAnnProd ~ Year | Plot, type = c("b", "r"), pch = 16)
Also note that using the "type" argument with multiple values prevents
the necessity of a custom panel function.
HTH,
--sundar
On Mon, Mar 16, 2009 at 5:54 AM, AllenL wrote:
>
> Hello R friends,
> Simp
3 matches
Mail list logo