Displaying 1 result from an estimated 1 matches for "testforargumentinthreedots".
2006 Jul 02
4
Test for argument in ...
...ot;) do not assign some
value to arg1 and call foo2
foo2(arg1=arg1)
However, I am not able to do this since I do not know how to test/check
if arg1 was given in foo1. Is it possible to test whether some argument
was passed in "..." i.e. something like
foo1 <- function(x, ...)
{
if(testForArgumentInThreeDots(arg1)) arg1 <- "some value"
foo2(x, arg1=arg1, ...)
}
Thanks!
--
Lep pozdrav / With regards,
Gregor Gorjanc
----------------------------------------------------------------------
University of Ljubljana PhD student
Biotechnical Faculty
Zootechnical Department URI: htt...