withStr: Takes a vector of Strings and returns a new vector with a new...

withStrR Documentation

Takes a vector of Strings and returns a new vector with a new String s2 moving it onto a pos related to s1.

Description

Takes a vector of Strings and returns a new vector with a new String s2 moving it onto a pos related to s1.

Usage

withStr(s, s2, pos = "after", s1)

Arguments

s

a vector of Strings

s2

a new String

pos

see moveNames

s1

an element in s according to which we position s2

Value

a new vector of Strings with s2 pos(itioned) according to s1


kongra/kongRa documentation built on Jan. 18, 2025, 4:34 a.m.