Examples for 'base::missing'


Does a Formal Argument have a Value?

Aliases: missing

Keywords: programming

### ** Examples

myplot <- function(x, y) {
                if(missing(y)) {
                        y <- x
                        x <- 1:length(y)
                }
                plot(x, y)
        }

[Package base version 4.2.3 Index]