The goal of TSS.RESTREND is to ...
You can install the released version of TSS.RESTREND from CRAN with:
install.packages("TSS.RESTREND")
This is a basic example which shows you how to solve a common problem:
library(TSS.RESTREND)
## basic example code