Indexing and Slicing Data Frames - English

20947 visits



Outline:

Shortcut key for assignment operator (<-) How to perform numeric indexing How to extract a row or column from a data frame How to retrieve multiple rows from a data frame How to combine objects to form a vector How to perform logical indexing on a data frame How to perform name indexing on a data frame How to slice a data frame using subset function How to select required columns (by name) from a data frame How to retrieve data using double square brackets