5.3.1 Select and Order Data
OREdplyr
functions for selecting and ordering data in columns and rows of an ore.frame
object.
Table 5-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 theselect
andrename
functions of theOREdplyr
package. - Examples of Programming with select_
Examples of theselect_
function of theOREdplyr
package. - Examples of Selecting Distinct Columns
Examples of thedistinct
andarrange
functions of theOREdplyr
package. - Examples of Selecting Rows by Position
Examples of theslice
andfilter
functions of theOREdplyr
package. - Examples of Arranging Columns
Examples of thearrange
anddesc
functions of theOREdplyr
package. - Examples of Filtering Columns
Examples of thefilter
function of theOREdplyr
package. - Examples of Mutating Columns
Examples of themutate
andtransmute
functions of theOREdplyr
package.
Parent topic: Data Manipulation Using OREdplyr