search for: case1

Displaying 20 results from an estimated 47 matches for "case1".

Did you mean: case
2010 Jan 31
2
Reshaping matrix of vectors as dataframe
...the structure as given 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 ---------------...
2008 Jun 23
1
problem in R for Linear mixed model~
Dear R users: I just got confused some R code used in 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 ef...
2011 Dec 21
1
aggregate function
Hi I have a data frame with values in following format. param case1 1 a 2 b 2 c 2 d 3 e 4 f how to use aggregate so that it I only one row for each 'param' value. the output for the above input should be param case1 1 a 2 b,c,d 3 e 4 f Thanks M...
2005 Nov 07
1
Newbie on functions
Hi, I'm trying to write a simple function like case1 <- function (m, cov, Q, R) { theta <- (acos(R/sqrt(Q^3))) beta <- (-2)*sqrt(Q)*cos(theta/3)+m[1]/3 rho1 <- (-2)*sqrt(Q)*cos((theta+2*pi)/3)+m[1]/3 rho2 <- (-2)*sqrt(Q)*cos((theta-2*pi)/3)+m[1]/3 stderrb <- deltamethod( ~(-2)*sqrt(Q)*cos(theta/3)+x1/3...
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.477...
2008 Jun 17
0
some r code for linear mixed model
Hello everyone: I have some quesions about the R code for linear mixed model,hope some one can give me some hints,thanks a lot~ Say: we have A B C three factors (i)A is fixed ,B and C are random,and B is nested in C,so the R code for this case would be: case1<-lme(y~A+B+C+......,random=~B|C) where "B|C" actually mean B is nested in C, is it correct? (ii)and if I update the case as: updatedcase1<-update(case1,random=~1|C), did I just remove the random effect of B, and only random effect of C left in the model? is it correct? (iii)A...
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&...
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
2007 Sep 05
3
'singular gradient matrix’ when using nls() and how to make the program skip nls( ) and run on
Dear friends. I use nls() and encounter the following puzzling problem: I have a function f(a,b,c,x), I have 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,...
2012 Dec 02
1
concatenating expressions and standard text
Hi all, is it possible to concatenate expressions and basic text when for instance labeling axis of a plot? I would like to see something like the concatenation of expression(C[0]) and "for case 1" on my x axis. Obviously a plot(x, y, xlab=paste(expression(C[0])," in case1")) will not work. Thank you in advance, ----- TO GET MORE DETAILS CLICK HERE -- View this message in context: http://r.789695.n4.nabble.com/concatenating-expressions-and-standard-text-tp4651670.html Sent from the R help mailing list archive at Nabble.com.
2012 Feb 17
0
IO-APIC line level race condition
...; on the command line, rather than requiring a patch 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 easi...
2016 Feb 09
3
[GVN] same sequence of instructions in if and else branch
...ast1 = ptrtoint i8* %incdec.ptr.1 to i64 … else: %incdec.ptr.2 = getelementptr inbounds i8, i8* %ptr, i64 1 %cast2 = ptrtoint i8* %incdec.ptr.2 to i64 GVN doesn't move instructions in 'if' and 'else' blocks to 'pred' block even though it knows that incdec.ptr.1/case1 has a same value number with incdec.ptr.2/cast2. I see a case where this kind of redundancy confuses following optimization passes and ends up generating suboptimal code. >From the GVN implementation, it seems that transformation is performed only when the "leader" value dominates th...
2012 Apr 23
1
ggplot2 - geom_bar
...value=c(1,1,1,1, 1,1,1,1)) str(molten) molten ggplot(molten, aes(date, weight = value, fill = channel)) + geom_bar(colour = I('black')) + facet_grid(product ~ .) -->8-- This gives the expected result (at least I expect this, see attachment case1). When I change molten to: molten <- data.frame(date=c('01','01','01','01', '02','02','02','02'), channel=c('red','red','blue','blue',...
2016 Nov 28
2
Looking for help with an ast matcher
...xpr(callee(cxxMethodDecl(hasName(" > compare"))), > hasArgument(0, > declRefExpr().bind("str2")), > callee(memberExpr(has( > declRefExpr().bind("str1"))))))))).bind("case1") > > And this is the AST part that we care about > |-IfStmt 0x7fba9625f5e8 <line:8:5, line:10:5> > | |-<<<NULL>>> > | |-<<<NULL>>> > | |-ImplicitCastExpr 0x7fba96258a80 <line:8:8, col:25> '_Bool' > <Integral...
2016 Nov 28
2
Looking for help with an ast matcher
...matcher: match ifStmt(hasCondition(implicitCastExpr(hasImplicitDestinationType(isInteger()), has(cxxMemberCallExpr(callee(cxxMethodDecl(hasName("compare"))), hasArgument(0, declRefExpr().bind("str2")), callee(memberExpr(has(declRefExpr().bind("str1"))))))))).bind("case1") This one bind to both str1 and str2 in str1.compare(str2). I have included a code segment below. I have attached a screenshot of this matcher working from clang-query. HOWEVER - when I try to use the matcher in clang-tidy it will not work. It is because of the callee(memberExpr(has(declRefE...
2014 Jul 23
3
[LLVMdev] On semantics of add instruction - nsw,nuw flags
...s from performing the operation after a sext so that the type is guaranteed to be big enough; or (as in 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 f...
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 p...
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...
2003 Dec 01
1
Memdisk/XMS bug, big floppy image
...syslinux mailinglist: I may have found a Memdisk bug, but I'm not sure. Isolinux 2.08pre6, corresponding Memdisk file. DOS image, Freedos kernel 2032a-fat32 I'm trying first 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...
2012 Apr 27
1
[LLVMdev] RE : RE : RE : Detect if a basicblock is part of a loop
...f(something) somethingelse: else another; } become: int main() { while(true) { 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 attemp...