search for: handmadevector

Displaying 1 result from an estimated 1 matches for "handmadevector".

2007 Feb 20
1
Difficulties with dataframe filter using elements from an array created using a for loop or seq()
...ter case is presented here. Obviously, there are only ten numbers, so the "manual" method is easy, but I would like to have a more flexible program. (Plus it worries me if the simple things don't do what I expect... :-) ) >From the output, you can see that the loop using the "handmadevector" that creates a filter and counts the elements, correctly finds one match for each element in the vector, but the seq() and for loop produced vectors each give a mixture of true and false matches. Can anyone tell me why the "loopvector" and "seqvector" do not provide the s...