The goal of mlfinance is to help applying machine learning to finance, expecially investing and trading.
You can install the released version of mlfinance from CRAN with:
install.packages("mlfinance")
And the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("MislavSag/mlfinance")
This is a basic example which shows you how can you use functions from the package to train the ML model:
library(mlfinance)
## basic example code