> DEVS should equal 6 values the last being 620, like the data frame:
>CANDS DEVS
> > [1,] 100 120
> > [2,] 101 220
> > [3,] 102 320
> > [4,] 103 420
> > [5,] 104 520
> > [6,] 105 620
>
> And yes, my first question is do i need a "if" statement at all as the which
>
I greatly apoligize, clear in my own mind, just didnt explain well enough.
DEVS should equal 6 values the last being 620, like the data frame:
CANDS DEVS
> [1,] 100 120
> [2,] 101 220
> [3,] 102 320
> [4,] 103 420
> [5,] 104 520
> [6,] 105 620
And yes, my first quest
> I am having trouble removing entries from a vector based on the value of the
> vector and another object value. It works in my pseudo test run:
>
> DEV=400
> #Y
> CANDS=c(100:105)
> #Z
> DEVS=c(120,220,320,420,520)
> if(DEV>DEVS)
>(CANDS=CANDS[which(DEV CANDS
I am having trouble removing entries from a vector based on the value of the
vector and another object value. It works in my pseudo test run:
DEV=400
#Y
CANDS=c(100:105)
#Z
DEVS=c(120,220,320,420,520)
if(DEV>DEVS)
(CANDS=CANDS[which(DEVTAZDetermine_FEET)
4 matches
Mail list logo