make.CredIntervalVect: Take a vector y having mean then lower and upper credible...

Description Usage Arguments Examples

Description

Take a vector y having mean then lower and upper credible limits and convert to character string with parentheses. Result is a single (atomic) character vector with mean followed by parentheses enclosing lower and upper limits. This is not vectorized: it will work only with a single vector of length 3. Use apply to repeat for rows of a matrix.

Usage

1
make.CredIntervalVect(y, digits = c(3, 3), CIonly = FALSE)

Arguments

y

must be a vector of length 3, not a matrix.

digits

number of decimal places in result, first for the mean, then the two credible limits

Examples

1
2
3
## Not run: 
make.CredIntervalVect(c(3.124,2.76,5.01),digits=c(2,1))
## End(Not run)

forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.