Displaying 20 results from an estimated 8000 matches similar to: "using split.screen? [Broadcast]"
2006 Jul 18
1
using split.screen?
Hello. I am having trouble understanding the use of split.screen. I want
to divide the device surface first into 4 equal screens:
split.screen(figs=c(2,2))
This works.
I next want to subdivide each of these 4 screens into 10 subscreens. I do,
for the first of these 4 screens:
screen(1,new=T)
and then: split.screen(figs=c(10,2))
My understanding is that this should split screen 1 (i.e.
2002 Aug 06
1
polygon() draws non-transparent border, erase.screen draws non-transparent border (PR#1881)
# polygon ignores requests to have its border transparent, look at
par(bg="transparent")
plot(c(0, 3), 0:1)
polygon(c(0, 1, 1, 0), c(0, 0, 1, 1), border=NA, col = 0)
polygon(c(1, 2, 2, 1), c(0, 0, 1, 1), border="transparent", col = 0)
polygon(c(2, 3, 3, 2), c(0, 0, 1, 1), border=0, col = 0)
# a quick fix for erase.screen() is the following
erase.screen <-
function (n =
2006 Jun 28
0
superimposing histograms con't [Broadcast]
I wrote some code to do this. It only works with 2 groups (that's all I
needed), but could probably be generalized. It got my graph made, and I
haven't needed a graph like this one again, so I never went back to really
clean it up.
It works by first plotting both sets of rectangles, then going back over the
ones that had the first bar totally covered by the second.
Hope this helps,
2006 Feb 14
1
figs parameter for split.screen()
Dear all,
I would be pleased if anyone could help me.
The Rhelp description for the figs parameter is "a two-element vector
describing
the number of rows and colunns in a screen matrix".
So, why does my code (below) produce a 2x1 screen matrix instead of
a 1x2 one?
Thanks in advance,
rodrigo.
-----------------------------------------------------------
plot.new()
2010 Jul 20
1
Using" fig=" in one screen created with "split.screen()"
Hi,
I successfully created 3 screens with the following:
fig.mat<-c(0,.5,.5,.5,1,1,0,0,.5,1,.5,1)
fig.mat<-matrix(fig.mat,nrow=3)
fig.mat
split.screen(fig.mat)
I can plot three different plots on those 3 screens, but when I try the following:
(Trying to create three graphs with a common x-axis but different y-axis on screen 1)
screen(1)
par(oma=c(3,3,0,0))
par(fig=c(0,1,0,0.33))
2008 May 28
1
superposing barplots having different scales
Hello. I know how to make a bar plot in which a numeric y variable is
plotted against some grouping variable X (say, groups A, B, C) when this
grouping variable is subdivided into each of two subgroups; so the bars
would be: (group A subgroup 1) beside (group A subgroup 2), then (group B
subgroup 1) beside (group B subgroup 2), and so on. This is done using the
beside=TRUE argument in the
2004 Jan 08
1
Using split.screen
I want to draw a figure with several panels of unequal size, so i
thought I would try using screen(). However, I can't figure out how to
define the sizes as a matrix. I've tried this:
split.screen(matrix(c(0,0.5,0,0.5, 0.5,1,0.5,1), byrow=F, ncol=4))
and a couple of variants on it, but get the same error:
Error in par(.split.screens[[cur.screen]]) :
invalid value specified
2010 Oct 12
1
graphics layout
Folks,
I'm battling the layout() functionality in graphics, and getting a bit mixed up. I'd like to create subscreens like so:
_________ _________
| | |
| 1 | 2 |
|_________|________ |
| | |
| 3 | 4 |
|_________|_________|
| |____6____|
| 5 |____7____|
|_________|____8____|
Note that subscreens 1:5 are the same
2006 Aug 25
1
Plot y ~ x under condition of variable a and b [Broadcast ]
It's the "|source" in your formula that tells lattice to separate them.
If you drop that, you'll get all points without S and P distinguished at
all. If you add a groups argument, you should get them presented with
different colors/symbols/etc. depending on your trellis settings (warning:
untested code):
par.plot(lnvol~lnden, groups =
2009 Apr 04
0
split.screen bug and patch
I hope it's OK to post a bug report, and a possible patch, on this list.
Introduction
=======
The split.screen() docs suggest that users should not return to a screen
after it has been drawn, and that curious errors may result from doing so.
This is clear from the test file I put below. However, I have found that
this test file will work properly, with a tiny change to the split.screen
2003 Jan 28
1
can't create user entries in smbpasswd
Hi all,
after installing samba 2.2.5 (on Solaris8 running NIS+) it is not
possible to create user entries in smbpasswd.
I generated the smbpasswd file by
# cat /dev/null | /samba/samba-2.2.5/source/script/mksmbpasswd.sh >
/usr/local/samba/private/smbpasswd
-----
then tried to create user entry "dummy" in smbpasswd by
(user "dummy" exists under NIS+)
# smbpasswd -a dummy
2003 Jan 25
1
plot/screen
Dear helpers
I have this code to make 10 plots in the same device
a<-1
split.screen(c(2:5))
for (i in 1:10){
nova.matriz<-a*sigma+(1-a)*S
proj<-calculo.comp(treino,nova.matriz)
print(proj[,1:2])
screen(i)
plot(Re(proj[c(2,3,6,9:11,14,23),1:2]),xlim=range(c(-
15:15)),ylim=range(c(-5:5)),col="black")
points(Re(proj[c(1,4:5,7:8,12:13,15:22,24:27),1:2]),col="red")
2000 Jun 07
0
Please Help - WINS server problems
Hello,
We are successfully using Samba with a remote WINS server which is located
on another site. We have a second site (Worcester) which has successfully
been using the same WINS server and communicating with our Samba servers
(Shipley5 and Shipley6).
Recently the PCs in Worcester have been unable to connect to our Samba
server in Shipley. The other site uses a different DHCP server to our
2004 Apr 26
2
mixed model with binomial link?
Hello. I have to fit a mixed model from a repeated measures split-plot
experiment in which the response variable is binary. This requires a
generalised linear mixed model in which I can specify a binomial
distribution. I can’t find the appropriate package in R. I have looked
at glmmML, but it doesn’t seem to allow any mixed structure beyond a
simple 2-level one. Can anyone point me to the
2004 Sep 30
1
histograms with more than one variable
Hello. I want to plot the distribution of a continuous variable (y) in
each of two groups on the same graph as histograms. I suppose one could
call this a 2-d histogram? Can this be done in R? Here is a typical
data.set:
y group
1.2 1
3.3 1
2.4 2
5.7 1
0.2 2
etc.
Bill Shipley
Subject Matter Editor, Ecology
North American Editor, Annals of
2006 Apr 13
1
obtaining residuals from lmer
Hello. I cannot find out how to extract the residuals from a mixed model
using the lmer function. Can someone help?
Bill Shipley
North American Editor, Annals of Botany
Editor, "Population and Community Biology" series, Springer Publishing
Département de biologie, Université de Sherbrooke,
Sherbrooke (Québec) J1K 2R1 CANADA
Bill.Shipley@USherbrooke.ca
2004 Dec 27
1
splot.screen: multiple plots
I have multiple conditions that I would like to plot in a
grid. To save space, I don't need the ticks, labels etc on
the plots which are not on the outside.
I tried split.screen, but if it is clearer to use, it seems
pretty rigid since it decides of each screen size apriori
while I need more space for the left column and top or
bottom row screens than for the other plots.
axis(1,tick=FALSE)
2003 Dec 11
2
typeIII SS for lme?
To avoid angry replies, let me first say that I know that the use of
Type III sums of squares is controversial, and that some statisticians
recommend instead that significance be judged using the non-marginal
terms in the ANOVA. However, given that type III SS is also demanded by
some… is there a function (equivalent to drop1 for lm) to obtain type
III sums of squares for mixed models using the
2006 Feb 16
1
help downloading lme4 from CRAN
Hello. I am having trouble downloading the lme4 package from the CRAN
site. The error is:
> local({a <- CRAN.packages()
+ install.packages(select.list(a[,1],,TRUE), .libPaths()[1],
available=a, dependencies=TRUE)})
trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/PACKAGES'
Content type `text/plain; charset=iso-8859-1' length 26129 bytes
opened URL
downloaded 25Kb
2004 Oct 04
3
(off topic) article on advantages/disadvantages of types of SS?
Hello. Please excuse this off-topic request, but I know that the
question has been debated in summary form on this list a number of
times. I would find a paper that lays out the advantages and
disadvantages of using different types of SS in the context of
unbalanced data in ANOVA, regression and ANCOVA, especially including
the use of different types of contrasts and the meaning of the