Learn R Programming

blit (version 0.1.0)

arg: Deliver arguments of command

Description

Deliver arguments of command

Usage

arg(tag, value, indicator = FALSE, lgl2int = FALSE, format = "%s", sep = " ")

Value

A string.

Arguments

tag

A string specifying argument tag, like "-i", "-o".

value

Value passed to the argument.

indicator

A logical value specifying whether value should be an indicator of tag. If TRUE, logical value will explain the set or unset of tag.

lgl2int

A logical value indicates whether transfrom value TRUE to 1 or FALSE to 0. If TRUE, format will always be set to "%d".

format

The format of the value, details see sprintf.

sep

A character string used to separate "tag" and "value", usually " " or "=".