Subject: Re: [R] lattice: bwplot: getting two plots into one.
The factor gm has nine levels, therefore you need to use a pch vector with 9
values
(duplicates are ok). Therefore this will work.
bwplot(var1 ~ gm, data=mydata, col=black,
pch=rep(1:3,3), ##par.settings=list(box.dot=list(pch=1:3
:* Richard M. Heiberger [r...@temple.edu]
*Sent:* 22 August 2013 23:16
*To:* Anna Zakrisson Braeunlich
*Cc:* r-help@r-project.org
*Subject:* Re: [R] lattice: bwplot: getting two plots into one.
The factor gm has nine levels, therefore you need to use a pch vector
with 9 values
(duplicates are ok
Dear all,
I have problems gettting the following as one graph instead of the two created
by this script. I know that with this dummy data, the resulting graph will look
like a catastrophy. I have other data I wish to apply this too. Just wanted to
supply some dummy data to work with.
There may
This is the fundamentals
bwplot(var1 ~ factor1 | factor2, data=mydata,
panel=function(...) {
panel.abline(h=0, lty=2, col=gray90)
panel.bwplot(...)
})
You can add the font control if you need to. The major change I made was
to put the
panel.abline first. It is part of the background
--
*From:* Richard M. Heiberger [r...@temple.edu]
*Sent:* 21 August 2013 17:21
*To:* Anna Zakrisson Braeunlich
*Cc:* r-help@r-project.org
*Subject:* Re: [R] lattice: bwplot: getting two plots into one.
This is the fundamentals
bwplot(var1 ~ factor1 | factor2, data=mydata
-help@r-project.org
Subject: Re: [R] lattice: bwplot: getting two plots into one.
This is the fundamentals
bwplot(var1 ~ factor1 | factor2, data=mydata,
panel=function(...) {
panel.abline(h=0, lty=2, col=gray90)
panel.bwplot(...)
})
You can add the font control if you need to. The major
6 matches
Mail list logo