calc_modifications | R Documentation |
These function serve as intermediaries between R and the subdirectory source.
calc_modifications(x)
calc_A_export(x)
calc_B_export(x)
x |
Vector of Numeric Values with length |
The exported function name is different from the subdirectory function. C++ does not allow duplicate function names with the same parameters. To preserve the original function name necessitates the subdirectory function being placed behind a namespace, e.g. 'A::calc_A_routine()'. Otherwise, the name of the function exported must be different, e.g. 'calc_A_export()'.
A vector of numeric values with length n
.
my_vec = c(3.5, 8, -1.5, -2, 0, 42)
calc_modifications(my_vec)
my_vecA = c(881, 884, 1,2,-4)
calc_A_export(my_vec)
my_vecB = c(512,32, -1, 1.3, 5.9)
calc_B_export(my_vecB)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.