<!-- badges: start -->
[![CRANStatusBadge](http://www.r-pkg.org/badges/version/mixAR)](https://cran.r-project.org/package=mixAR)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/mixAR)](https://www.r-pkg.org/pkg/mixAR)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/mixAR?color=blue)](https://r-pkg.org/pkg/mixAR)
[![R-CMD-check](https://github.com/GeoBosh/mixAR/workflows/R-CMD-check/badge.svg)](https://github.com/GeoBosh/mixAR/actions)
[![Codecov test coverage](https://codecov.io/gh/GeoBosh/mixAR/graph/badge.svg)](https://app.codecov.io/gh/GeoBosh/mixAR)
<!-- badges: end -->

'mixAR' is an R package for time series modelling with mixture autoregressive and related
models.

# Installing mixAR

Install the  [latest stable version](https://cran.r-project.org/package=mixAR) from CRAN:

    install.packages("mixAR")


Alternatively, install the [development version](https://github.com/GeoBosh/mixAR) of
`mixAR` from Github:

    remotes::install_github("GeoBosh/mixAR")


# Overview

  Package `mixAR` provides functions for modelling with mixture
  autoregressive (MAR/mixAR) models.

  See, for example, the [overview of
  mixAR](https://geobosh.github.io/mixAR/reference/mixAR-package.html) and model
  fitting functions such as
  [fit_mixAR](https://geobosh.github.io/mixAR/reference/fit_mixAR-methods.html)
  and [bayes_mixAR](https://geobosh.github.io/mixAR/reference/bayes_mixAR.html).
