assert_surv | R Documentation |
Asserts x
is a survival::Surv object with added checks
assert_surv( x, len = NULL, any.missing = TRUE, null.ok = FALSE, .var.name = vname(x) )
x |
Object to check |
len |
If non-NULL checks object is length |
any.missing |
If |
null.ok |
If |
.var.name |
Optional variable name to return if assertion fails |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.