Skip to contents

For distributions that have parameters, this function places those parameters in bracket notation, such as (0, 1) for a Normal distribution with a mean of 0 and variance of 1.

Usage

bracket_parameters(distribution, param_digits = 2)

Arguments

distribution

A single distplyr distribution for which the parameters() function can be applied.

param_digits

Number of significant digits to include in the output.

Value

a single character with the parameters separated by commas and sandwiched by brackets.