hasColumn | R Documentation |
Checks whether a specified column is found in a specified data set
hasColumn(columnName, data)
columnName |
The column to look for. |
data |
the data.frame to search. |
logical scalar. TRUE if the column is found. FALSE otherwise
safetyGraphics:::hasColumn(columnName="PARAM",data=safetyData::adam_adlbc) #TRUE safetyGraphics:::hasColumn(columnName="Not_a_column",data=safetyData::adam_adlbc) #FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.