This is useful for missing list elements (which returns NULL), but when the missing element in refClass should be NA (and NULL would return an error)
A variable of any kind or NULL
NULL_to_NA(NA) ## NA NULL_to_NA(NULL) ## NA NULL_to_NA("hi") ## "hi"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.