Man pages for pbs-assess/gfutilities
Groundfish Utility Functions

add.asterisksAdd two asterisks to the data frame in the positions
commifyTake the input vector and create a comma-seperated string
fFormat a value in a nice way, including rounding and trailing...
file_addextMake filenames with the supplied extensions. If the...
firstlowerMake the first letter in strings lowercase
firstupCapitalize the first letter in strings
get.alignCreate a character vector to use in an align argument for...
get_osReturn the Operating System name in lower case
get_shadeGet an RGB string representing the color and opacity given
has_specialsDo strings contain special characters
hex_hashCreate a HEX color based on the characters of the input...
latex.ampCreate a string of ampersands seperated by spaces
latex.boldPlace \textbf macro around text for latex boldface
latex.clineCreate a latex string to draw a horizontal line across the...
latex.cmidrCreate a latex string to draw a horizontal line across the...
latex.hlineA horizontal line in latex properly escaped for R
latex.italicsPlace \emph macro around text for latex italics
latex.math.boldPlace \mathbf macro and dollar signs around text for latex...
latex.mcolPlace \multicolumn macro around text
latex.mlcCreate a string which has been glued together using...
latex.mrowPlace \multirow macro around text
latex.nlineA newline in latex properly escaped for R
latex.pasteCreate a string comprised of each element in the vector with...
latex.percEscape all instances of the percent symbol properly for latex
latex.size.strCreate a latex string for setting the given font size and...
latex.subscrCreate a subscript in latex
latex.supscrCreate a superscript in latex
latex.underPlace \underline macro around text for latex underlining
list_stringCreate a string out of the strings in vec, by glueing...
modpathCopy a Windows path from the clipboard, replace the...
number_to_wordConvert a number into an English word
pad.numPad the beginning of a number with zeroes
rasterify_cols'Rasterify' column names. Change x and y column names into...
remove.asterisksRemove any asterisks found in the given data frame x
rich_colorsCreate a vector of n colors that are perceptually equidistant...
round_3d_arrayRound all numeric values found in a multidimensional array to...
round_data_frameRound all numeric values found in a data.frame to a specified...
round_down_evenRound down to the nearest even number
round_listRound all values in an arbitrarily complex list. All...
round_up_evenRound up to the nearest even number
summarize_quantsCalculate arbitrary quantiles for particular column(s) by...
pbs-assess/gfutilities documentation built on Sept. 18, 2023, 7:57 a.m.