plot_gauge: Create an enrolment gauge

View source: R/plots.R

plot_gaugeR Documentation

Create an enrolment gauge

Description

plot_gauge() creates a gauge plot that represents the current rate with respect to a target.

Usage

plot_gauge(val, lbl, m, lthres, uthres, scale = 1)

Arguments

val

Value

lbl

Label

m

Maximal gauge value

lthres

Numeric value, lower threshold

uthres

Numeric value, upper threshold

scale

Numeric value (optional, default 1), must vary between 0 and 1 to scale the text size

Details

Description of plot_enrolment_gauge

Value

This function plots a gauge with rate and title.


Thaliehln/timci documentation built on April 8, 2024, 3:38 p.m.