braidFilename: Generates filename to use when saving plots.

Description Usage Arguments

View source: R/braid.R

Description

Creates a filename in the form prefix+counter+suffix+ext, e.g. "fig0001.pdf".

Usage

1
2
3
  braidFilename(b, counter = braidIncCounter(b),
    prefix = "fig", format = "default", suffix = "",
    ext = ".pdf")

Arguments

b

A braid object

counter

A numeric value. By default it will increment the braid counter

prefix

Filename prefix

format

A format that will be passed to the sprintf function, e.g. "[percent]04d" will pad the counter with zeroes and create a character string of length 4, e.g. "0001"

suffix

Filename suffix

ext

Filename extension, by default ".pdf"


andrie/braid documentation built on June 3, 2017, 7:01 p.m.