Entering edit mode
Javier Pérez Florido
▴
840
@javier-perez-florido-3121
Last seen 6.7 years ago
Dear list,
Is there any way to use function handle in R? I would like to do
something like this (is written in MATLAB)
handleFunction=@function1;
handleFunction(arguments) # MATLAB knows that handleFunction is
related
to function1
Thus, handleFunction can be any function, for example:
handleFunction=@function1 or handleFunction=@function2 or
handleFunction=@function3, etc
the function call is always the same
handleFunction(arguments)
Any ideas?
Thanks,
Javier