October 9, 2018 at 8:28 pm
Comments posted to this topic are about the item Just the ranks
October 9, 2018 at 11:03 pm
That is really interesting , thanks Steve
Learned something new today...
____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
October 9, 2018 at 11:23 pm
Now that was unexpected! Learned something new, thanks Steve.
...
October 10, 2018 at 2:38 am
Would never guess. It seams to be illogical for me. 🙂
October 10, 2018 at 5:40 am
nice question, thanks
---------------------------------------------------------------------------------------
The more you know, the more you know that you dont know
October 10, 2018 at 6:35 am
I think the answer or in fact, the explanation is incorrect and/or incomplete.
My assumption is that the the numbers between the brackets are first "calculated", and then the following logic is applied:
October 10, 2018 at 7:45 am
I don't quite know how this works. It was surprising to me as well. i suspect this is some strange holdever from the past, perhaps some poorly designed behavior in the language. I could do HR[.1:3], or I've seen HR[,c(1,3)] as well.
Can't test this now, but I think there are lots of ways. I thought this was interesting, because I would assume 1-3 is the range.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply