search for: risna

Displaying 1 result from an estimated 1 matches for "risna".

Did you mean: cisna
2006 Oct 16
6
NULL or NA for missing function arguments?
Hi, I am troubled by the use of NULL or NA to indicate missing/non-specified function arguments. In the R code that I have looked at, it seems that both forms are used (NULL seems to be used more often though). Sometimes both variants are in the same declaration, e.g. format.default <- function(x, trim = FALSE, digits = NULL, nsmall = 0, justify = c("left",