
Transform a pif object into a data.frame
as.data.frame.Rd
Gets the potential impact fraction value, the link_variance and the confidence interval values
Examples
my_pif <- pif(p = 0.5, p_cft = 0.25, beta = 1.3, var_p = 0.1, var_beta = 0.2)
as.data.frame(my_pif)
#> PIF standard_deviation ci_low ci_up confidence
#> 1 0.06521739 0.1144269 -0.1882459 0.2646147 0.95