Hans-Peter <[EMAIL PROTECTED]> wrote:
> I am troubled by the use of NULL or NA to indicate
> missing/non-specified function arguments.

I suggest using NULL for arguments which are vectors or lists of
unspecified length, and NA for "scalars" (arguments whose length
should always be one, such as na.rm).  I rarely use missing arguments,
as they are harder to pass down to other functions.

-- David Brahm ([EMAIL PROTECTED])

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to