Learn R Programming

mlsbm (version 0.99.2)

mean_CRI: The mean_CRI function

Description

Simple function to return the mean (95% CrI) for a vector

Usage

mean_CRI(y, dig = 2)

Arguments

y

A numeric vector

dig

The number of digits to round to

Value

A string of mean and 95% quantile interval rounded to 'dig'

Examples

Run this code
# NOT RUN {
mean_CRI(rnorm(1000))
# }

Run the code above in your browser using DataLab