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


jverzani/ProgGUIinR documentation built on May 20, 2019, 5:17 a.m.