This is an R package to facilitate the usage of MATLAB functions in R.
Both languages contain functions with similar purpose, but different names. This package allows an R user comfortable with MATLAB to use several MATLAB functions in R.
matlab2r is available on CRAN and can be installed by running the following in an interactive R session:
install.packages("matlab2r")
The development version of the package contains features and bug fixes that are yet to be published. On the other hand, it's much less stable. You can install the development version of matlab2r by running the following command in R (requires the remotes package to be installed beforehand):
remotes::install_github("ocbe-uio/matlab2r", "develop")
Found a bug? Want a new feature? Please post your thoughts here, all contributions are welcome and properly credited!
To cite package matlab2r in publications, run citation(matlab2r) and check the produced output.