  The multivariate Bayesian structural time series (MBSTS) model is a general
machine learning model that deals with inference and prediction for multiple
correlated time series, where one also has the choice of using a different
candidate pool of contemporaneous predictors for each target series. The MBSTS
model has wide applications and is ideal for feature selection, time series
forecasting, nowcasting, inferring causal impact, and others. This paper
demonstrates how to use the R package mbsts for MBSTS modeling, establishing a
bridge between user-friendly and developer-friendly functions in the package
and the corresponding methodology. Object-oriented functions in the package are
explained in the way that enables users to flexibly add or deduct some
components, as well as to simplify or complicate some settings.
