parFlags2: parFlags2

View source: R/Stringendo.R

parFlags2R Documentation

parFlags2

Description

Create a string from the names of the (boolean) parameters (TRUE or FALSE) of true values. Use it for Suffixing plot names with the parameters that were used for that plot.

Usage

parFlags2(
  prefix = ".",
  ...,
  pasteflg = TRUE,
  coll.char = ".",
  coll.char.intra = "_"
)

Arguments

prefix

Append something before?

...

Paramter variables

pasteflg

Boolean: paste the parameters-flags together?

coll.char

Separating character between each parameters-flag

coll.char.intra

Separating character between parameters and its value

Examples

pearson <- TRUE
filtered <- 3
normalized <- FALSE
MyPlotname <- parFlags2(prefix = "MyPlot", pearson, filtered, normalized)
MyPlotname


vertesy/Stringendo documentation built on Nov. 10, 2024, 4:35 a.m.