Sprintfl: Produce string by substituting placeholders

Description Usage Arguments Details Value

View source: R/Rdata.R

Description

The function behaves similar to sprintf, except that character sequences to be substituted are indicated by name. To be implemented: *-specifications

Usage

1
Sprintfl(.fmt, values, sprintf_cartesian = FALSE, envir = parent.frame())

Arguments

.fmt

formatting string into which values are interpolated (see details)

values

list or vector of values to be used for interpolation

sprintf_cartesian

boolean to indicate whether cartesian product of values should be used. Otherwise standard recyling rules apply.

envir

environment in which values are to be evaluated

Details

#@param s template string #@param d values to substitute into s #@param template template for substitution pattern. Within this pattern __DICT_KEY__ is # substituted for a key in d. This string k is substituted in s with d[[k]].

Value

Interpolated character string


sboehringer/gwasWeighted documentation built on Dec. 22, 2021, 10:19 p.m.