Displaying 10 results from an estimated 10 matches for "cond12".
Did you mean:
cond1
2024 Aug 09
3
If loop
...;
> funC()
> cat (v)
> #2
>
> On Fri, 9 Aug 2024, 09:03 Steven Yen, <styen at ntu.edu.tw> wrote:
>
> > Thanks. Hmm. The loop is doing what it is supposed to do.
> >
> > > try1<-function(joint12=FALSE,marg1=FALSE,marg2=FALSE,
> > + cond12=FALSE,cond21=FALSE){
> > + # ***************************************************
> > + # Testing if loop
> > + # ***************************************************
> > + if(joint12){
> > + {print ("joint12"); cat(joint12,"\n")}
> > + {pri...
2024 Aug 09
1
If loop
Thanks. Hmm. The loop is doing what it is supposed to do.
> try1<-function(joint12=FALSE,marg1=FALSE,marg2=FALSE,
+??????????????? cond12=FALSE,cond21=FALSE){
+ # ***************************************************
+ # Testing if loop
+ # ***************************************************
+ if(joint12){
+?? {print ("joint12"); cat(joint12,"\n")}
+?? {print ("marg1"); cat(marg1,"\n")}
+ } else...
2024 Aug 09
2
If loop
...lt;- 1
funC <- function() {
v <<- v+1
}
funC()
cat (v)
#2
On Fri, 9 Aug 2024, 09:03 Steven Yen, <styen at ntu.edu.tw> wrote:
> Thanks. Hmm. The loop is doing what it is supposed to do.
>
> > try1<-function(joint12=FALSE,marg1=FALSE,marg2=FALSE,
> + cond12=FALSE,cond21=FALSE){
> + # ***************************************************
> + # Testing if loop
> + # ***************************************************
> + if(joint12){
> + {print ("joint12"); cat(joint12,"\n")}
> + {print ("marg1"); cat(ma...
2024 Aug 09
3
If loop
Can someone help me with the if loop below? In the subroutine, I
initialize all of (joint12,marg1,marg2,cond12,cond21) as FALSE, and call
with only one of them being TRUE:
,...,joint12=FALSE,marg1=FALSE,marg2=FALSE,cond12=FALSE,cond21=FALSE,,,,
joint12 seems to always kick in, even though I call with, e.g., marg1
being TRUE and everything else being FALSE. My attempts with if... else
if were not useful...
2024 Aug 09
1
If loop
...(joint12)
}
if (marg1) {
print("marg 1")
cat(marg1)
}
Would probably be my diagnostic approach
On Fri, 9 Aug 2024, 04:45 Steven Yen, <styen at ntu.edu.tw> wrote:
> Can someone help me with the if loop below? In the subroutine, I
> initialize all of (joint12,marg1,marg2,cond12,cond21) as FALSE, and call
> with only one of them being TRUE:
>
> ,...,joint12=FALSE,marg1=FALSE,marg2=FALSE,cond12=FALSE,cond21=FALSE,,,,
>
> joint12 seems to always kick in, even though I call with, e.g., marg1
> being TRUE and everything else being FALSE. My attempts with if.....
2024 Aug 09
1
If loop
...in.
??? me1<-me0<-NULL.
??? if(joint12){
????? {me1<-cbind(me1,v1$p12);? me0<-cbind(me0,v0$p12)}
??? } else if(marg1) {
????? {me1<-cbind(me1,v1$p1);?? me0<-cbind(me0,v0$p1)}
??? } else if(marg2) {
????? {me1<-cbind(me1,v1$p2);?? me0<-cbind(me0,v0$p2)}
??? } else if(cond12){
????? {me1<-cbind(me1,v1$pc12); me0<-cbind(me0,v0$pc12)}
??? } else {
????? {me1<-cbind(me1,v1$pc21); me0<-cbind(me0,v0$pc21)}
??? }
...
? labels<-NULL
? if(joint12){
??? labels<-c(labels,lab.p12)
? } else if(marg1) {
??? labels<-c(labels,lab.p1)
? } else if(marg2...
2024 Aug 11
1
Printing
...ot;,
??? "\nWritten by Steven T. Yen (Last update: 08.11.24)",
??? "\ny1.level=",???? y1.level,
??? "? y2.level=",???? y2.level,
??? "\njoint12 =",???? joint12,
??? "\nmarg1 =",?????? marg1,
??? "\nmarg2 =",?????? marg2,
??? "\ncond12 =",????? cond12,
??? "\ncond21 =",????? cond21,
??? "\nCovariance matrix:",vb.method,
??? "\nWeighted =",??????? weighted,
??? "\nAt means =",??????? mean,
??? "\nProb x 100 =",????? times100,
??? "\ntesting ="????? ,?? testing,...
2024 Aug 11
1
Printing
...teven T. Yen (Last update: 08.11.24)",
> ??? "\ny1.level=",???? y1.level,
> ??? "? y2.level=",???? y2.level,
> ??? "\njoint12 =",???? joint12,
> ??? "\nmarg1 =",?????? marg1,
> ??? "\nmarg2 =",?????? marg2,
> ??? "\ncond12 =",????? cond12,
> ??? "\ncond21 =",????? cond21,
> ??? "\nCovariance matrix:",vb.method,
> ??? "\nWeighted =",??????? weighted,
> ??? "\nAt means =",??????? mean,
> ??? "\nProb x 100 =",????? times100,
> ??? "\ntes...
2024 Aug 11
3
Printing
...e: 08.11.24)",
>> ???? "\ny1.level=",???? y1.level,
>> ???? "? y2.level=",???? y2.level,
>> ???? "\njoint12 =",???? joint12,
>> ???? "\nmarg1 =",?????? marg1,
>> ???? "\nmarg2 =",?????? marg2,
>> ???? "\ncond12 =",????? cond12,
>> ???? "\ncond21 =",????? cond21,
>> ???? "\nCovariance matrix:",vb.method,
>> ???? "\nWeighted =",??????? weighted,
>> ???? "\nAt means =",??????? mean,
>> ???? "\nProb x 100 =",????? times100,
&...
2013 Feb 14
1
[LLVMdev] LiveIntervals analysis problem
...2.i = getelementptr inbounds i16* %p.1.i, i32 10
br i1 %cmp118.i, label %isone.i, label %while.cond.i
if.else123.i: ; preds = %if.end55.i
%250 = load i16* %incdec.ptr1.8.i.i, align 2, !tbaa !5
%cmp126.i = icmp eq i16 %250, 0
br i1 %cmp126.i, label %while.cond129.preheader.i, label %if.else140.i
while.cond129.preheader.i: ; preds = %if.else123.i
%251 = load i16* %incdec.ptr1.7.i.i, align 2, !tbaa !5
%cmp133977.i = icmp sgt i16 %251, -1
br i1 %cmp133977.i, label %while.body135.i, label %if.end197.loopexit.i
while.body135.i:...