Substr: Return sub-strings indicated by positions or produce a string...

Description Usage Arguments Value

View source: R/Rdata.R

Description

The function behaves similar to sprintf, except that character sequences to be substituted are indicated by name.

Usage

1
Substr(s, start, length, replacement)

Arguments

s

template string

start

vector of start positions of substrings to substitute

length

vector of lengthes of substrings to substitute

replacement

vector of strings to subsitute. If missing, Substr returns sub-strings indicated by start/length

Value

character vector containing extracted sub-strings


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