Learn R Programming

ProgGUIinR (version 0.0-4)

nsprintf: sprintf with template depending on integer valued n

Description

sprintf with template depending on integer valued n

Usage

nsprintf(n, msg1, msg2, ...)

Arguments

n
number passed to sprintf call
msg1
sprintf template when n == 1.
msg2
sprintf template when n > 1.
...
passed to ngettext

Value

a character string