search for: num3

Displaying 13 results from an estimated 13 matches for "num3".

Did you mean: num
2006 Feb 09
1
List Conversion
Hello, I have a list (mode and class are list) in R that is many elements long and of the form: >length(list) [1] 5778 >list[1:4] $ID1 [1] "num1" $ID2 [1] "num2" "num3" $ID3 [1] "num4" $ID4 [1] NA I'd like to convert the $ID2 value to be in one element rather than in two.?? It shows up as c(\"num2\", \"num3\") if I try to use paste(list[2], collapse=""). I need to do this over the length of the entire list, howev...
2010 Apr 20
2
having more than one plot in one figure
Hi All, I have been trying to plot multiple line plots with different colors on one figure. in my example below I was able to plot cat vs num1 as a dot plot connected with lines but was not able to do that for cat vs num2 and I do not know how to add the third plot cat vs num3. below is my code df <- data.frame(cat=1:10, num1=rnorm(10), num2=rnorm(10), num3=rnorm(10)) plot(df$num1, type="b", col="red", xlab="categories", ylab="random numbers") points(df$num1, type="p", pch=21, col="red",bg="red")...
2010 Feb 01
1
How to repeat "for" function?
...) c4<-matrix(c(1.0,0.2,-0.5,0.3,0.2,1,0.2,-0.5,-0.5,0.2,1,0.2,0.3,-0.5,0.2,1),4,4,byrow=T) set.seed(428) X=mvrnorm(n,m2,c4) X.pca<-princomp(X) loadings(X.pca) pc=X.pca$loadings[,1] ## Part B num1=rep(1:n) for(i in 1:n)num1[i]=pc[1]%*%X[i,1] num2=rep(1:n) for(i in 1:n)num2[i]=pc[2]%*%X[i,2] num3=rep(1:n) for(i in 1:n)num3[i]=pc[3]%*%X[i,3] num4=rep(1:n) for(i in 1:n)num4[i]=pc[4]%*%X[i,4] den=rep(1:n) for(i in 1:n)den[i]=pc%*%X[i,] r1=num1/den r2=num2/den r3=num3/den r4=num4/den MLAV=sum(r2>r1 & r2>r3 & r2>r4) MLAV Best regards, ayu -- View this message in context:...
2006 Oct 30
4
read.fwf and header
Hi! I have data (also in attached file) in the following form: num1 num2 num3 int1 fac1 fac2 cha1 cha2 Date POSIXt 1 1 f q 1900-01-01 1900-01-01 01:01:01 2 1.0 1316666.5 2 a g r z 1900-01-01 01:01:01 3 1.5 1188830.5 3 b h s y 1900-01-01 1900-01-01 01:01:01 4 2.0 1271846.3 4 c i t x 1900-01-01 1900-01-01 01:01:01 5 2.5 829737.4 d j u...
2006 Oct 30
4
read.fwf and header
Hi! I have data (also in attached file) in the following form: num1 num2 num3 int1 fac1 fac2 cha1 cha2 Date POSIXt 1 1 f q 1900-01-01 1900-01-01 01:01:01 2 1.0 1316666.5 2 a g r z 1900-01-01 01:01:01 3 1.5 1188830.5 3 b h s y 1900-01-01 1900-01-01 01:01:01 4 2.0 1271846.3 4 c i t x 1900-01-01 1900-01-01 01:01:01 5 2.5 829737.4 d j u...
2013 Jun 11
1
mapply on multiple data frames
...multiple data frames. All data frames have the same structure. Here is my code so far: f<-function(x,y) { test<-t.test(x$col1[x$col3=="num",],v$col2[x$col3=="num",],paired=T,alternative="greater") out<-test$p.value return(out) } all_nums<-list(num1,num2,num3,num4) all_dfs<-list(df1,df2,df3,df4) mapply(f,all_dfs,all_nums) This tells me that $ operator is invalid for atomic vectors. I have tried shifting to notation using [ ,] to denote columns, but that gives me this error: incorrect number of dimensions. Thank you in advance, Elizabeth
2012 Aug 31
2
[LLVMdev] How to write a regression test case?
...amed CBackendNameAllUsedStructsAndMergeFunctions() was removed.for this the module data can not be translated correctly. when i try to rewrite this pass,i found much interfaces of module have been changed. i write a test which contian a struct like this struct student{ long num; int num2; int num3; int num4; }; after analyze the struct should be modify like this: struct student{ long num; int num2; int num3; int num4; char add[4]; }; but now, i do not know which function can do this work in Module in llvm162227. thanks, Regards, changcheng On Wed, Aug 29, 2012 at 10:29 PM,...
2006 Feb 15
5
is there a web interface to this mailing list?
hi, To post, and to reply to a post, i have to goto my email. Now, if there is a web interface to these mailing list, things would be easier.
2004 Sep 01
5
dtmf problem
Hello! I have asterisk updated from CVS on 31/8/2004 with sample configuration. I have just changed the sip.conf to register asterisk with sip proxy in out intranet. Then I can successfully make call to asterisk and go to demo IVR, but no response to dtmfs. I try to make call from several sip phones: Cisco7960, Ata186, Snom200. All of them send telephone-event in INVITE, but asterisk answers
2012 Aug 29
0
[LLVMdev] How to write a regression test case?
aha, that's quite straightforward. 2012/8/29 Changcheng Wang <changcheng at multicorewareinc.com>: > hi,yang: > i had delete the temporary files,sorry to trouble you. > it is so easy: // RUN: rm .... > > Regards > changcheng > > On Wed, Aug 29, 2012 at 2:41 PM, Changcheng Wang > <changcheng at multicorewareinc.com> wrote: >> hi,yang: >> how
2006 Feb 14
5
Multiple AGI Issues
I've got several issues with AGI/FastAGI 1. When an AGI script sends a command to Asterisk via stdin, why does Asterisk block and not return a result until the command is complete? Specifically, the dial command. If I send a Dial command to Asterisk, I don't get a return result until AFTER the call is HUNG UP. Not when it's ringing, not when the call is connected, but when it's
2012 Aug 29
3
[LLVMdev] How to write a regression test case?
hi,yang: i had delete the temporary files,sorry to trouble you. it is so easy: // RUN: rm .... Regards changcheng On Wed, Aug 29, 2012 at 2:41 PM, Changcheng Wang <changcheng at multicorewareinc.com> wrote: > hi,yang: > how can i remove the temporary files? > if i can remove them,all is ok! > > yours: > > changcheng > > On Wed, Aug 29, 2012 at 2:14 PM, Changcheng
2010 Aug 24
0
mlm for within subject design
...ound this problem. Please help, Mahesh gam.object <- gam(YVAR~1, data=gam.data) step.object <-step.gam(gam.object, scope=list( "FAC1"=~1+FAC1, "FAC2"=~1+FAC2, "FAC3"=~1+FAC3, "NUM1"=~1+NUM1+ns(NUM1,df=2), "NUM2"=~1+NUM2+ns(NUM2,df=2), "NUM3"=~1+NUM3+ns(NUM3,df=2), "NUM4"=~1+NUM4+ns(NUM4,df=2), "NUM5"=~1+NUM5+ns(NUM5,df=2), "NUM6"=~1+NUM6+ns(NUM6,df=2), "NUM7"=~1+NUM7+ns(NUM7,df=2), "NUM8"=~1+NUM8+ns(NUM8,df=2), "NUM9"=~1+NUM9+ns(NUM9,df=2), "NUM10"=~1+NUM10+ns(...