I need MatLab code converted to R code

Job ID: 33718140

Budget: $30 – $250 USD

I have MatLab code for a Naïve Bayes model which incorporates Markov transition probability into it. I have all the data the forecasted results and all the matlab code. However I don’t have MatLab and would like to see the model in R. All the information for this model can be found at https://www.kansascityfed.org/research/research-working-papers/recession-forecasting-bayesian-classification-2016/

The link for files is under the header “Additional Files”.