combinePaste2: Combine two strings using a naming convention

View source: R/defaultCombine.R

combinePaste2R Documentation

Combine two strings using a naming convention

Description

Combine two in a manner similar to 'paste()' strings using the default combine type

Usage

combinePaste2(
  a,
  b,
  combineType = c("default", "snake", "camel", "dot", "blank")
)

Arguments

a

first string to combine

b

second string to combine

combineType

is the type of combination; can be:

- "default": default combine (set with 'defaultCombine()')

- "camel": camelCase combine

- "snake": snake_case combine

- "dot": dot combine (i.e. "a.b")

- "blank": no separator (i.e. "ab")

Value

Combined strings separated with 'defaultCombine()'

Author(s)

Matthew L. Fidler

Examples


combinePaste2("f", "depot")

combinePaste2("f", "depot", "snake")

combinePaste2("f", "depot", "dot")

combinePaste2("f", "depot", "blank")

nlmixr2lib documentation built on Oct. 7, 2024, 5:08 p.m.