Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getWithDefault

Return x unless NULL, NA, length 0, ..., in which case we give default


Description

Return x unless NULL, NA, length 0, ..., in which case we give default

Usage

getWithDefault(x, default)

Arguments

x

value to return or its default

default

default value

Value

x or default


gWidgets2

Rewrite of gWidgets API for Simplified GUI Construction

v1.0-8
GPL (>= 3)
Authors
John Verzani
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.