Description Usage Arguments Value Examples
The top level driver function to call the converting functions and handle the input and output.
1 2 3 4 5 6 7 |
inMat |
A file path with the input Matlab / Octave code to be converted or a character vector of the code that needs to be converted |
pathOutR |
A file path with the desired output file location |
funcConverters |
A list of function converters that the user wants to
use in this conversion made by |
dataConverters |
A list of data converters that the user wants to
use in this conversion made by |
verbose |
A number indicating the amount of messages that should be outputed.
|
A list containing the original code (named matCode) and the converted code (named rCode).
1 2 3 4 5 6 7 8 9 10 11 12 |
[1] "xlsReadPretty <- function(...){" "\tvarargin <- list(...)"
[3] " didThing <- 1*3" " dat <- didThing / 3"
[5] "\treturn(dat)" "}"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.