R package RobStatTM: Robust Statistics: Theory and Methods. Companion package for the book: ”Robust Statistics: Theory and Methods, second edition”, <>. This package contains code that implements the robust estimators discussed in the recent second edition of the book above, as well as the scripts reproducing all the examples in the book.