Computes quantiles from the NTR posterior and puts them into a new slot

## Usage

ComputeNtrPosteriorQuantile(data, quantile, name)

ComputeNtrCI(data, CI.size = 0.95, name.lower = "lower", name.upper = "upper")

ComputeNtrPosteriorLower(data, CI.size = 0.95, name = "lower")

ComputeNtrPosteriorUpper(data, CI.size = 0.95, name = "upper")

## Arguments

data

the grandR object

quantile

which quantile to compute

name

the name of the new slot to put quantile values in

CI.size

A number between 0 and 1 representing the size of the credible interval

name.lower

the name of the new slot to put the lower bound of the CI in

name.upper

the name of the new slot to put the upper bound of the CI in

## Value

a new grandR object containing an additional slot

## Details

The NTR posterior distribution can be approximated by a beta distribution.

ComputeNtrPosteriorQuantile computes any quantile from this Beta approximation

ComputeNtrPosteriorLower computes the (1-CI.size)/2 quantile

ComputeNtrPosteriorUpper computes the 1-(1-CI.size)/2 quantile

ComputeNtrCI computes both of these quantiles.