R Package for Modeling Rate Dependent Hysteretic Processes.