The idm package: Incremental decomposition methods in R