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/RAP_code_library documentation built on Aug. 19, 2023, 2:41 p.m.