Displaying 2 results from an estimated 2 matches for "tp1678705p1678705".
2010 Mar 23
3
If else statements
...s the
correct form of writing it?
Thank you.=)
Example:
for (v in 1:6) {
for (i in 2:200) {
if (v==1)
(if max(x*v-y*v)>1 break())
if (v==2)
(if max(x*v-y*v)>1.8 break())
if (v==3)
(if max(x*v-y*v)>2 break())
}
}
--
View this message in context: http://n4.nabble.com/If-else-statements-tp1678705p1678705.html
Sent from the R help mailing list archive at Nabble.com.
2010 Mar 24
0
R-help ordinal regression
...max(x*v-y*v)>1 break())
> >
> > if (v==2)
> > (if max(x*v-y*v)>1.8 break())
> >
> > if (v==3)
> > (if max(x*v-y*v)>2 break())
> > }
> > }
> > --
> > View this message in context:
> > http://n4.nabble.com/If-else-statements-tp1678705p1678705.html
> > Sent from the R help mailing list archive at
> Nabble.com.
> >
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 23 Mar 2010 09:25:54 -0400
> From: David Winsemius <dwinsemius at comcast.net>
> To: "Craig Woodward&qu...