Survival Function
survival.Rd
Access a copula's survival function.
Arguments
- copula, ...
A copula, or possibly multiple copulas in the case of
...
.- u, v
Vectors of values to evaluate the copula at.
- fn_prefix
For
enframe_
, name of the function to appear in the column(s).- sep
When
enframe
'ing more than one copula, the character that will be separating thefn_name
and the copula name.
Value
The evaluated survival function
in vector form (for eval_
) and data frame
or tibble form (for enframe_
).
See also
Other distributional representations:
eval_cdf()
,
eval_density()
,
eval_pmf()
Examples
d1 <- cop_ig(20, 4)
d2 <- cop_igl(1.1)
eval_survival(d1, u = 0.4, v = 1:9 / 10)
#> Error in UseMethod("eval_survival"): no applicable method for 'eval_survival' applied to an object of class "c('ig', 'paramcop', 'cop')"
enframe_survival(d1, u = 0.4, v = 1:9 / 10)
#> Error in UseMethod("eval_survival"): no applicable method for 'eval_survival' applied to an object of class "c('ig', 'paramcop', 'cop')"
enframe_survival(d1, d2, u = 1:9 / 10, v = 1:9 / 10)
#> Error in UseMethod("eval_survival"): no applicable method for 'eval_survival' applied to an object of class "c('ig', 'paramcop', 'cop')"