Description Usage Arguments Author(s) Examples
View source: R/try0_function.R
Returns second argument if expression in first argument fails.
1 |
expr |
expression to be tested |
ifError |
return value if test fails |
Kim Rand
1 2 | try0(as.formula(list()))
try0(as.formula(a ~ b))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.