Provide additional computed variable `level`
jamesotto852 opened this issue · comments
James Otto commented
Now that the computed variable for the HDR probability is called probs
(4d80857), it might be good to provide the value of the density cutoffs corresponding to the each HDR via level
. This would be consistent with ggplot2::geom_density2d()
. This mostly seems relevant for pedagogical purposes -- being able to identify HDRs with the height of the density estimator may be useful in explaining how they are calculated and how the graphics are created.