rtry_select_col | R Documentation |
This function selects the specified columns from the input data.
rtry_select_col(input, ..., showOverview = TRUE)
input |
Input data frame or data table. |
... |
Column names to be selected. |
showOverview |
Default |
An object of the same type as the input data.
This function makes use of the select
function
within the dplyr
package.
rtry_remove_col
# Select certain columns from the provided sample data (data_TRY_15160)
data_selected <- rtry_select_col(data_TRY_15160,
ObsDataID, ObservationID, AccSpeciesID, AccSpeciesName,
ValueKindName, TraitID, TraitName, DataID, DataName, OriglName,
OrigValueStr, OrigUnitStr, StdValue, UnitName, OrigObsDataID,
ErrorRisk, Comment)
# Expected message:
# dim: 1782 17
# col: ObsDataID ObservationID AccSpeciesID AccSpeciesName ValueKindName TraitID
# TraitName DataID DataName OriglName OrigValueStr OrigUnitStr StdValue
# UnitName OrigObsDataID ErrorRisk Comment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.