An R package for Subset Multivariate Optimal Partitioning (SMOP), a multivariate changepoint detection algorithm.