Description Usage Arguments Examples
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.
1 | make.CredIntervalVect(y, digits = c(3, 3), CIonly = FALSE)
|
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 |
1 2 3 | ## Not run:
make.CredIntervalVect(c(3.124,2.76,5.01),digits=c(2,1))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.