combinePaste2 {nlmixr2lib}R 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")

[Package nlmixr2lib version 0.3.0 Index]