powered by
Returns the number of arguments passed to the parent function
nargin()
An integer indicating how many input arguments a function received.
Waldir Leoncio
https://stackoverflow.com/q/64422780/1169233
f <- function(x, y, z) return(nargin()) f(pi) f(y = 6, z = 5) f(letters) f(letters, LETTERS, pi)
Run the code above in your browser using DataLab