4.3.1 Select and Order Data
OREdplyr functions for selecting and ordering data in columns and rows of an ore.frame object.
Table 4-2 Selecting and Ordering Columns and Rows
| Function | Description |
|---|---|
|
|
Orders rows by the specified columns. |
|
|
Sorts an |
|
|
Selects unique rows from an input |
|
|
Filters rows by matching the specified condition. |
|
|
Adds new columns. |
|
|
Renames the specified columns and keeps all columns. |
|
|
Selects only the specified columns. |
|
|
Selects rows by position; ignores the grouping of the input ordered |
|
|
Adds new columns and drops the existing columns. |
Examples of using these functions are the following:
- Examples of Selecting Columns
Examples of theselectandrenamefunctions of theOREdplyrpackage. - Examples of Programming with select_
Examples of theselect_function of theOREdplyrpackage. - Examples of Selecting Distinct Columns
Examples of thedistinctandarrangefunctions of theOREdplyrpackage. - Examples of Selecting Rows by Position
Examples of thesliceandfilterfunctions of theOREdplyrpackage. - Examples of Arranging Columns
Examples of thearrangeanddescfunctions of theOREdplyrpackage. - Examples of Filtering Columns
Examples of thefilterfunction of theOREdplyrpackage. - Examples of Mutating Columns
Examples of themutateandtransmutefunctions of theOREdplyrpackage.
Parent topic: Data Manipulation Using OREdplyr