Creates a string that represents a function call based on an argument list.
funCode(funName, args)
funName | Name of the function to call in the string. |
---|---|
args | a named, partly named or unnamed list containing the parameters
for the function. Supported types are |
A character vector of length one
args <- list(dat = "dt", m = "u", xlab = c("kja", "jsak", "saj"), z = 1, u = NULL, r = TRUE) funCode("myFunction", args)#> [1] "myFunction(dat='dt', m='u', xlab=c('kja','jsak','saj'), z=1, r=TRUE)"