Displaying 20 results from an estimated 10000 matches similar to: "How to open more windows to make more graphs at once!"
2007 May 09
1
How to read several text files at once!
Dear R users,
I am a beginner in R. I have 506 text files (data frame) in one folder namely DATA. The files are called A1 to A253 (253 files) and B1 to B253 (another 253 files). Each file has two columns; V1 (row number)
and V2 (the value for each row name). Now I would like to add the values of
V2 in each A-file with its relative value in B-file and save it as a
new data frame named as C (e.g. C1
2011 Feb 04
1
Dovecot 2 multiple address/port binding
Hello,
Sorry, I know the topic has been talked about already but I searched the
archives and I'm still unsure of the proper way to have dovecot (imap-login)
listen to several addresses and/or several ports.
1. how do I translate dovecot-1
protocol imap {
listen = xx.xx.xx.xx:143 yy.yy.yy.yy:143
ssl_listen = xx.xx.xx.xx:993 yy.yy.yy.yy:939
}
I started by
service imap-login {
2005 Apr 13
2
multinom and contrasts
Hi,
I found that using different contrasts (e.g.
contr.helmert vs. contr.treatment) will generate
different fitted probabilities from multinomial
logistic regression using multinom(); while the fitted
probabilities from binary logistic regression seem to
be the same. Why is that? and for multinomial logisitc
regression, what contrast should be used? I guess it's
helmert?
here is an example
2012 Aug 17
7
Remove several numbers from a sequence
Can anyone tell me how to remove several numbers for a sequence. For example:
xx<- c(1,5,7,10)
yy<-seq(1,10,1)
how do I get take xx away from yy to get the new sequence
2,3,4,6,8,9
Many thanks in advance
--
View this message in context: http://r.789695.n4.nabble.com/Remove-several-numbers-from-a-sequence-tp4640630.html
Sent from the R help mailing list archive at Nabble.com.
2009 Mar 04
2
adding value labels on Interaction Plot
Hello - and sorry for what might look like a simple graphics question.
I am building an interaction plot for d:
d=data.frame(xx=c(3,3,2,2,1,1),yy=c(4,3,4,3,4,3),zz=c(5.1,4.4,3.5,3.3,-1.1,-1.3))
d[[1]]<-as.factor(d[[1]])
d[[2]]<-as.factor(d[[2]])
print(d)
interaction.plot(d$xx, d$yy, d$zz,
type="b", col=c("red","blue"), legend=F,
lty=c(1,2), lwd=2,
2013 Aug 15
1
Couldn't drop privileges
attempts to login result in:
dovecot: imap-login: Login: user=<lists@*munged*>, method=PLAIN, rip=ip.xx.yy.zz, lip=75.148.117.91, mpid=75104, TLS, session=<cBjCqf/jdwAXGJaN>
dovecot: imap(lists@*munged*): Error: user lists@*munged*: Couldn't drop privileges: User is missing UID (see mail_uid setting)
dovecot: imap(lists@*munged*): Error: Internal error occurred. Refer to server
2011 Jun 13
3
combine the data frames into comma separated list.
Hi R users,
I am new to R and am trying to merge data frames in the following way.
Suppose I have n data frames each with two fields. Field 1 is common among
data frames but may have different entries. Field 2 is different.
Data frame 1:
Src Target1
1 aaa
1 bbb
1 ccc
2 aaa
3 ddd
Data frame 2:
Src Target2
2 aaaa
3 dddd
4 bbbb
4
2002 Nov 29
2
readBin or writeBin adds extra nulls (PR#2333)
Full_Name: Ken Yap
Version: 1.6.1
OS: Linux (SuSE 8.0)
Submission from: (NULL) (129.78.64.5)
I'm trying to copy a file using readBin and writeBin. (The reason is to be able
to pipe PostScript or PDF output to a socket later, this is just an experiment.)
I do:
zz <- file("foo.ps", "rb")
r <- readBin(zz, character(), 1000000)
yy <- file("bar.ps",
2003 Nov 18
2
ask problem about softphone--asterisk--softphone, Urgent!!!
Hi, all,
I want to use asterisk SIP as a proxy, and two softphone (Ubiquity SIP Phone) as user agent, like below:
Softphone1<-------------->Asterisk SIP<------------>Softphone2
(User Agent) (Proxy) (User Agent)
155.69.xx.xx 155.69.yy.yy 155.69.zz.zz
zhou mysipproxy.com
2006 Jan 09
1
How to use filled.contour(x,y,z) data for levelplot(z)?
Dear all,
We used the following function to create a spatial plot of a raster image:
filled.contour(xx,yy,zz, color = terrain.colors, nlevels=10,
main=naamjaar, plot.axes = { contour(Xcoord/1000,Ycoord/1000,lim.data,
nlevels = 4, col=4,drawlabels = T, axes = FALSE, frame.plot = FFALSE,
add = TRUE);axis(1); axis(2);
2010 Jan 05
4
xen domU ID and static routing
Hi,
I use a EQ 4 dedicated root server by hetzner with ubuntu jaunty. I
installed xen 3.3 with debian kernel and brought up 3 domUs.
Now comes networking...
Hetzner does not allow bridged networking so I have to use routed mode
in xen. No Problem so far, but the Problem actually is:
When I bring up a domU the routing table is created by the xen-script
vif-routing. The network interface name
2011 May 01
2
Marginal a partir de la densidad conjunta
Cordial saludo.
Estoy trabajando con una densidad conjunta algo elaborada (suma y cociente
de dos variables aleatorias positivas usando la cópula Frank) y requiero
encontrar la distribución marginal de cada una de las variables. A manera de
ejemplo (no es el caso específico, que tiene mucho más código), si partimos
de la distribución exponencial bivariada
#-----
theta<-0.5
2011 Jun 14
1
[Resolved] combine the data frames into comma separated list.
Hi
Thanks Gabor for your suggestion. I am posting the code that worked for me.
dataframe1 = data.frame(cbind(Src = c(1,1,1,2,3), Target1 =
c('aaa','bbb','ccc','aaa','ddd'))); #must be data frame
dataframe2 = data.frame(cbind(Src = c(2,3,4,4,4), Target2 =
c('aaaa','dddd','bbbb','eeee','ffff')));
dataframe3 =
2009 Aug 24
2
Assigning value of subset argument in "subset" function
Dear R users,
I am using "subset" function to filter out specific conditions and would
like to use the value of subsetted argument as a name of an object.
Specifically, from the following statement:
a <- subset(dat, dat$x == "A" & dat$xx == 1 & dat$xxx == "AB" & dat$y
== "B" & dat$yy == 2)
I would to assign the value of the 3rd
2007 Jun 08
1
How to make a table of a desired dimension
Hi ComRades,
I want to make a matrix of frequencies from vectors of a continuous
variable spanning different values. For example this code
x<-c(runif(100,10,40),runif(100,43,55))
y<-c(runif(100,7,35),runif(100,37,50))
z<-c(runif(100,10,42),runif(100,45,52))
a<-table(ceiling(x))
b<-table(ceiling(y))
c<-table(ceiling(z))
a
b
c
will give me three tables that start and end at
2000 Jul 26
3
merge aint merging
g'day R friends,
can anyone please help me with a frustrating merge?
The number of rows of a resulting merge is the smaller of the 2 dataframes
used as input. What am I doing wrong? I'm using 1.1.0 on redhat 6.2
thanks,
John Strumila
> xx[1:10,]
datetime c
948992940 948992940 0
948993000 948993000 0
948993060 948993060 0
948993120 948993120 0
948993180 948993180 0
2005 Oct 04
1
Rcmdr and scatter3d
Hi folks,
I'd like to use scatter3d (which is in R commander) to plot more than one
dataset in the same graph, each dataset with a different color. The kind
of stuff you would do with "holdon" in Matlab.
I read a recent message that was posted to this list with a similar
problem, but I couldn't understand the reply. Could someone give me one
example? How do you plot subgroups
2013 Mar 05
1
different colors for two wireframe spheres
Dear List,
I have the code below adapted from the lattice-package examples to draw two spheres. I would now like to give
both different surface colors, e.g. one red and one blue.
## 3-D surface parametrized on a 2-D grid
n <- 10
tx <- matrix(seq(-pi, pi, length.out = 2*n), 2*n, n)
ty <- matrix(seq(-pi, pi, length.out = n) / 2, 2*n, n, byrow = T)
xx <-
2012 Oct 19
1
Addition of plot=F argument to termplot
I have a suggested addition to termplot.
We have a local mod that is used whenever none of the termplot options is quite right. It
is used here almost daily for Cox models in order to put the y axis on a risk scale:
----
fit <- coxph(Surv(time, status) ~ ph.ecog + pspline(age), data=lung)
zz <- termplot(fit, se=TRUE, plot=FALSE)
yy <- zz$age$y + outer(zz$age$se, c(0, -2, 2),
2009 Sep 04
1
predicting from segmented regression
Hello
I'm having trouble figuring out how to use the output of "segmented()"
with a new set of predictor values.
Using the example of the help file:
??set.seed(12)
xx<-1:100
zz<-runif(100)
yy<-2+1.5*pmax(xx-35,0)-1.5*pmax(xx-70,0)+15*pmax(zz-.5,0)+rnorm(100,0,2)
dati<-data.frame(x=xx,y=yy,z=zz)
out.lm<-lm(y~x,data=dati)
o<-## S3