First of all, it should be noted that all named arguments that you use ( from , to , by , etc.) refer to seq.default() , the method that is sent by your call to seq() , and not to seq() . ( seq() has only one formal, ... ).
From there you can use these two building blocks
#
do something like this:
modifyList(formals(seq.default), as.list(match.call(seq.default, quote(seq.default(1,10))))[-1]) # $from # [1] 1 # # $to # [1] 10 # # $by # ((to - from)/(length.out - 1)) # # $length.out # NULL # # $along.with # NULL # # $...
source share