search for: case2

Displaying 20 results from an estimated 36 matches for "case2".

Did you mean: case
2010 Jan 31
2
Reshaping matrix of vectors as dataframe
...iven below: x <- list(c(1,2,4),c(1,3,5),c(0,1,0), c(1,3,6,5),c(3,4,4,4),c(0,1,0,1), c(3,7),c(1,2),c(0,1)) data <- matrix(x,byrow=TRUE,nrow=3) colnames(data) <- c("First", "Length", "Value") rownames(data) <- c("Case1", "Case2", "Case3") > data First Length Value Case1 Numeric,3 Numeric,3 Numeric,3 Case2 Numeric,4 Numeric,4 Numeric,4 Case3 Numeric,2 Numeric,2 Numeric,2 > data["Case1",] $First [1] 1 2 4 $Length [1] 1 3 5 $Value [1] 0 1 0 -------------------- My goal now...
2011 Jul 21
2
User input(unknown name and number of files)
Dear all, I need your help as I was not able to find out the solution. The thing is- I am having a code which is reading file with this code- df=read.table("Case2.pileup",fill=T,sep="\t",colClasses="character") but as am making a tool so that user can use it and can do analysis on his file.But the name of the file will not be Case2.pileup and I want to use this code so that user can input as many files as he want.My code is like thi...
2001 Nov 29
2
plotting (a) confidence intervals (b) standard error
Hi all, I'm building a plot of the values in tmeant (below) against positions 1 to 5, using matplot. tmeant looks like this: case1 case2 pos1 861.8466 818.5909 pos2 961.2841 976.3466 pos3 878.6080 1262.8523 pos4 950.8011 1129.6080 pos5 968.1080 1063.3920 I also have lower (object tl) and upper (object tu) bounds on the confidence intervals as follows: tl: pos1 pos2 pos3 pos4 pos5 case1 761.4777 872.8367...
2020 Jul 14
2
Multiple documents in one test file
On 14/07/2020 03:27, David Blaikie via llvm-dev wrote: > (+Richard - it's handy to include folks from previous discussions > explicitly so everyone can more easily keep track of the conversation) > > On Mon, Jul 13, 2020 at 6:17 PM Fangrui Song via llvm-dev > <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > > Sometimes it is
2008 Jun 23
1
problem in R for Linear mixed model~
...example,two factors,A, B,C,A is fixed ,B,C are random,and B is nested in C,if I wannt to use linear mixed model,are the following code correct for each case? case1:want to know random effect of B, case1<-lme(y~A*B*C,random=~B|C) where "B|C" stand for what?,mean B is nested in C? case2: how to wirte random effect of C? case2<-lme(y~A*B*C,random=~C)? this doesnt work out,it seem it must have somehing like #|$ case3.omitting the random effect for B from case1 case3<-update(case1,random=~1|C),so I just type 1,so the random effect of B will be removed from the model,there...
2012 Apr 23
1
ggplot2 - geom_bar
...'product1','product2', 'product1','product1', 'product1','product2'), value=c(1,1,1,1, 1,1,1,1)) I get a strange result(see case2). I expect that for date=02 and product=product1 the bar should show 2 'red', but it's just 1. So the total sum is 7 instead of 8. When I change molten again: molten <- data.frame(date=c('01','01','01','01', '02',&...
2014 Jul 23
3
[LLVMdev] On semantics of add instruction - nsw,nuw flags
...C) by trusting the programmer to make sure that doesn't happen. > What are the redundancies in the following code snip. Assume they appear in > that order in a basic block. > > Case1; %add2 = add nsw i32 %add, %add1 > %add3 = add i32 %add, %add1 > > Case2: %add2 = add i32 %add, %add1 > %add3 = add nsw i32 %add, %add1 In both cases the add with nsw can be removed in favour of the one without. Order is completely irrelevant for normal LLVM arithmetic instructions. Cheers. Tim.
2009 Mar 30
1
Lattice axis list (when relation = "free")
Dear R users: I am having difficulty to place x-axis location alternatively top/bottom side in Lattice plot, which is composed of seven-column as following: E1 E2 E3 E4 E5 E6 E7 Case1 -505.85 -75.32 494.52 -12.31 -98.96 50.34 -48.62 Case2 -50.46 -60.97 68.32 -8.66 -51.77 25.17 -26.60 Case3 -253.00 -54.99 243.48 -8.76 -73.27 35.46 -37.81 Case4 94.73 -20.27 -83.70 -3.17 -12.41 15.01 2.6 To adjust x-axis scale per column, I used prepanel function followed by scales argument. But then I wanted t...
2012 Sep 04
1
binary data
Dear list, Hello to everybody, I´m interested in finding a package for statistical analysis of binary data, I have a matrix with the following structure: Case1 Case2 Case 3 ....... CaseX Control1 Control2 Control3 ....... ControlY Pep1 1 0 1 1 0 0 0 1 Pep2 1 1 1 1 1 0 0 1 Pep3 0 1 1 1 1 0 0 1 ... Pepz 1 1 1 1 1 0 0 1 I would like to know some R package to calculte similarity matrix or to make some statistical diferences between cases and controls Any he...
2012 Feb 17
0
IO-APIC line level race condition
...h and recompile of Xen. Case 2 has only been seen once (this morning) so we currently have no idea as to its reproducibility. However, given that this hardware is fairly common in our test infrastructure, i would say that it is fairly rare. With Case1 and the new patch, Case1 becomes the same as Case2 with respect to IO-APIC setup, presumably meaning that the Case2 bug still exists with Case1. I will start working on cleaning up the IO-APIC code as soon as I can, as reducing the unnecessary complexity should make race conditions like this easier to find. -- Andrew Cooper - Dom0 Kernel Engine...
2018 Feb 27
0
Question about instcombine pass.
...LEN; i++) { a[i] += b[i] * c[i]; a[i] -= b[i] * c[i]; } } ---------------------------------- IR.(Excerpt) ---------------------------------- ; Function Attrs: norecurse nounwind uwtable define void @foo() local_unnamed_addr #0 { for.end: ret void } ---------------------------------- (CASE2) This case is also optimized as I expected. ---------------------------------- #define LEN 10 int a[LEN], b[LEN], c[LEN], X[LEN]; void foo() { int i; for (i=1; i<LEN; i++) { X[i] = X[i-1] * X[i-1]; a[i] += b[i] * c[i]; a[i] -= b[i] * c[i]; } } -------------------------------...
2003 Dec 01
1
Memdisk/XMS bug, big floppy image
...t to get an answer from the freedos XMS driver maintainer. more info will be provided afterwards. errors are these: *case1: device=himem.exe / dos=high,noumb Kernel: allocated 40 Diskbuffers = 21280 Bytes in HMA Invalid Opcode at 35A9 FFFF 0213 AA71 FFDC 0001 0E24 1095 0000 0001 0000 0002 0001 *case2: device=himem64.exe / dos=high,noumb Kernel: allocated 40 Diskbuffers = 21280 Bytes in HMA Invalid Opcode at 360F FFFF 0246 AA71 FFDC 0001 0E24 1095 0000 0001 0000 0002 0001
2006 Jun 10
3
RJS & nested divs
I''m a newbie and I''ve been trying to figure this out for a little while now, hopefully someone can point me in the right direction. case1 <div id="new"> </div> case2 <div id="new"><div id="item1"></div></div> <div id="new2"><div id="item1"></div></div> With RJS in case1, I can access "new" with page[''new'']. What would the RJS syntax be if I want...
2012 Apr 27
1
[LLVMdev] RE : RE : RE : Detect if a basicblock is part of a loop
...switch(var) { case 0: if(something) var+=1; else: var+=2; break; case1: somethingelse; var = MAX; break; case2: another; var = MAX; case MAX: exit(); } } } But I'm trying that before any attempt of code flattening, just to see if I can detect loop... Cheers ________________________________________ De : 陳韋任...
2008 Sep 06
1
Help use try function with boot
...front of the boot > c1.try<-try(boot(c1data, statistic = c1.fun, R=3999),silent=T) > c1.try [1] "Error in nls(formula = density ~ nmf(time, alpha, delta, psi, tau, gamma), : \n Convergence failure: false convergence (8)\n" attr(,"class") [1] "try-error" case2: put the try in front of the nls c1.nmf<-try(nls(density~nmf(time, alpha, delta, psi, tau, gamma), + algorithm="port",data=c1, + lower=c(alpha=0.1, delta=0, psi=0.2, tau=1, gamma=-5), + upper=c(alpha=0.6, delta=0.1, psi=3, tau=7, gamma=2), +...
2012 Dec 06
1
clustering of binary data
...ollowing error message: Error in rowSums(x, na.rm = TRUE) : 'x' must be numeric below an subset from my dataset: variable1 variable2 variable3 variable4 variable5 variable6 variable7 variable8 variable9 variable10 variable11 variable12 variable13 case1 0 0 0 0 0 1 0 0 1 1 0 0 0 case2 0 0 0 0 0 1 0 NA NA 1 0 0 0 case3 0 0 0 0 0 1 0 0 1 1 0 0 0 case4 1 0 0 0 0 1 0 1 0 1 0 0 0 case5 0 0 0 0 0 1 0 0 1 1 0 0 0 case6 0 1 0 0 0 1 0 1 0 1 0 0 0 case7 0 1 0 0 0 1 0 0 1 1 0 0 0 case8 0 0 0 0 0 1 0 1 0 1 0 0 0 case9 0 0 0 0 0 1 0 1 0 1 0 0 0 case10 0 0 0 0 0 1 0 0 1 1 0 0 0 case1...
2002 Jun 24
10
code optimization
I have a function "eval.delta" which does what I want but isn't very elegant. I have consulted the R documents, MASS, and S Programming. Is there a practical way to optimize the code? Thank you very much. Peter B. Function: eval.delta <- function(delta){ cat("VALUES\n") vlr <- NULL k <- 0 for(j in 1:length(delta)) if(delta[j] <= 2){
2007 Sep 05
3
'singular gradient matrix’ when using nls() and how to make the program skip nls( ) and run on
...ve a data vector of x and a vectory y of realized value of f. Case1 I tried to estimate c with (a=0.3, b=0.5) fixed: nls(y~f(a,b,c,x), control=list(maxiter = 100000, minFactor=0.5 ^2048),start=list(c=0.5)). The error message is: "number of iterations exceeded maximum of 100000" Case2 I then think maybe the value of a and be are not reasonable. So, I let nls() estimate (a,b,c) altogether: nls(y~f(a,b,c,x), control=list(maxiter = 100000, minFactor=0.5 ^2048),start=list(a=0.3,b=0.5,c=0.5)). The error message is: "singular gradient matrix at initial parameter estimates&quo...
2006 Mar 09
1
changing password on samba bdc
...7 op=9 SRCH attr=supportedExtension conn=327 op=9 SEARCH RESULT tag=101 err=0 nentries=1 text= conn=327 op=10 PASSMOD id="cn=John Doe,ou=People,o=example,c=xx" new conn=327 op=10 RESULT oid= err=0 text= conn=327 fd=26 closed (connection lost) conn=328 fd=27 closed (connection lost) Case2: I login to Machine2 and invoke smbpasswd. However I get "Password changed for user jdoe", but quite havy problems emerge. From now on I can't login to Machine1 and Machine2 neither with smbclient nor with ssh (which uses POSIX data). Case2, the answer: Ldap debug logs claim that sa...
2011 Jun 23
0
[LLVMdev] ARM thumb-2 instruction used for non-thumb2 CPUs
...les would encounter. > > Crash #2 is a C file, but is also asserting in the assembly parser, which indicates that there's inline assembly in the file somewhere that the parser doesn't know how to handle yet. Seems that it fails even on simply inline asm. Here is test function: void case2(unsigned int x) { __asm volatile( "mov %0, %0, ror #8\n" : "+r" (x)); } > > Some Makefile magic should be able to take care of issues of the sort encountered in #1 (don't pass -integrated-as when compiling .S files). > > Inline assembly is a bit trickier....