powered by
Checks whether a specified column is found in a specified data set
hasColumn(columnName, data)
The column to look for.
the data.frame to search.
logical scalar. TRUE if the column is found. FALSE otherwise
# NOT RUN { safetyGraphics:::hasColumn(columnName="PARAM",data=safetyData::adam_adlbc) #TRUE safetyGraphics:::hasColumn(columnName="Not_a_column",data=safetyData::adam_adlbc) #FALSE # }
Run the code above in your browser using DataLab