Azzera filtri
Azzera filtri

R code to MatLab?

4 visualizzazioni (ultimi 30 giorni)
Daphne PARLIARI il 15 Dic 2020
Commentato: Rik il 15 Dic 2020
Hello everyone!
Since I have no clue about R, I would like to ask you this:
There is an R code (see attaced) which will contains Distributed lag non-linear models that I must perform on a dataset I have. Is there a way to make it run on MatLab?
I am using R2019a.
Thanks in advance!

Risposte (1)

Rik il 15 Dic 2020
The consensus seems to be that you should invoke R from the command line.
You can use the RunRcode FEX submission.
  4 Commenti
Daphne PARLIARI il 15 Dic 2020
OK I installed the licrary but the generated file writes
Error in mkbasis(1:5, type = "bs", df = 4, degree = 2, cenvalue = 3) :
could not find function "mkbasis"
Execution halted
Rik il 15 Dic 2020
These are all R-related errors, which you should resolve on an R forum.

Accedi per commentare.


Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by