search for: daatframe

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

Did you mean: datframe
2012 Jan 06
2
Dropping columns from data frame
How does R do it, and should I ever be worried? I always remove columns by index, and it works exactly as I would naively expect - but HOW? The second illustration, which deletes non contiguous columns, represents what I do all the time and have some trepidation about because I don't know the mechanics (e.g. why doesn't the column formerly-known-as-4 become 3 after column 1 is dropped: