Learn R Programming

parameters (version 0.6.0)

format_rope: Percentage in ROPE formatting

Description

Percentage in ROPE formatting

Usage

format_rope(rope_percentage, name = "in ROPE")

Arguments

rope_percentage

Value or vector of percentages in ROPE.

name

Name prefixing the text. Can be NULL.

Value

A formatted string.

Examples

Run this code
# NOT RUN {
format_rope(c(0.02, 0.12, 0.357, 0))
format_rope(c(0.02, 0.12, 0.357, 0), name = NULL)
# }

Run the code above in your browser using DataLab