Learn R Programming

nlmixr2lib (version 0.3.0)

defaultCombine: Default combine strings

Description

Default combine strings

Usage

defaultCombine(...)

snakeCombine(...)

camelCombine(...)

dotCombine(...)

blankCombine(...)

Value

combined strings

Arguments

...

uses default to combine strings

Functions

  • snakeCombine(): use snake_case to combine 2 strings

  • camelCombine(): use camelCase to combine strings

  • dotCombine(): use the default method for combining two strings

  • blankCombine(): combine using a blank separator

Author

Matthew L. Fidler

Examples

Run this code

# default combine

defaultCombine("f", "depot")

defaultCombine(list(c("a", "funny", "c")))

defaultCombine(c("a", "funny", "c"))

# snake combine

snakeCombine("f", "depot")

snakeCombine(list(c("a", "funny", "c")))

snakeCombine(c("a", "funny", "c"))

# dot combine

dotCombine("f", "depot")

dotCombine(list(c("a", "funny", "c")))

dotCombine(c("a", "funny", "c"))

# blank combine

blankCombine("f", "depot")

blankCombine(list(c("a", "funny", "c")))

blankCombine(c("a", "funny", "c"))

Run the code above in your browser using DataLab