Description Usage Arguments Value
Same as opencpu.encode::as.scalar
, except that it also turns NULL
into NA
.
1 | as.scalar2(obj)
|
obj |
Any object. |
obj
as a scalar; NA
if obj
is NULL
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.