Closed chinsoon12 closed 6 years ago
Thanks! I have now changed it to say:
Second,
DF[1:2]
will slice the first two columns instead of the first two rows, thanks to the fact that no-comma usage of[
on a data.frame triggers list slicing.
The way I wrote it was not a typo, but I can see how it could be unclear. This might not be up on the web version soon since I am not very adept with Github yet.
Hi,
Somewhere in your r-tutorial green DETAILS box under section 3.2.2 Slicing, you mentioned that
Should it be slice first two rows instead of first two columns?