Utility Data
It is often useful to have a list of symbols used to represent elements for various subsetting functions. This can be extracted from the example data included with the package periodicTable
as follows. The vector
called elementslist
will be referred to elsewhere in this book.
data(periodicTable)
elementsList <- periodicTable$symb
rm(periodicTable)