makeGridInsets: Generate x-ray grid insets

View source: R/manageXray.R

makeGridInsetsR Documentation

Generate x-ray grid insets

Description

This function takes in an x-ray data frame (see makeXrayDf()) and outputs insets for x-ray grid cells. These insets will either be the numeric part of the letno for the head belonging in that cell or the string "Empty". Export the output of this function as a .csv (with row.names = FALSE) and use that for the mail merge when making x-ray grids.

Usage

makeGridInsets(xrdf, sheetSize = 20, test = FALSE)

Arguments

xrdf

an x-ray data frame for a given year, generated by makeXrayDf()

sheetSize

the number of heads to fit on each x-ray grid sheet

test

a boolean for testing inset creation or printing. If TRUE, then the string "Test" is appended to the end of this function's output.

Value

an array of cell insets to be used when making x-ray grids


stuartWagenius/echinaceaLab documentation built on April 13, 2025, 5:22 a.m.