| getval | R Documentation |
Returns val if length(val)>1. Otherwise it runs through args=list(...) until it finds an element with
length(args[[i]])>0 and returns it. If everything fails NULL will be returned.
getval(val, ...)
val |
current value |
... |
sequence of alternative values |
a value
getval(NULL, 0) getval(1, 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.