nsprintf: sprintf with template depending on integer valued n

Description Usage Arguments Value

View source: R/misc.R

Description

sprintf with template depending on integer valued n

Usage

1
  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


ProgGUIinR documentation built on May 30, 2017, 8:25 a.m.