arrow_pdf: Output arrow image for table on PDF bulletin front page

View source: R/arrow_pdf.R

arrow_pdfR Documentation

Output arrow image for table on PDF bulletin front page

Description

Function to format the correct path to arrow images for PDF bulletin front page.

Usage

arrow_pdf(x, path = "images")

Arguments

x

Number (usually the difference between two figures)

path

The path to the directory containing the arrow images. Default is a folder called 'images' in the repo root directory.

Value

Path to image of upwards arrow if x is positive, downwards arrow if x is negative or a no change arrow when x is zero.

Examples

arrow_pdf(5)


moj-analytical-services/mojrap documentation built on July 30, 2023, 4:43 p.m.