Learn R Programming

broman (version 0.38-2)

paste00: paste with null or dot as separator and with collapse

Description

Call paste with sep="." or sep="" and collapse="" or collapse=".".

Usage

paste00(...)
paste..(...)
paste0.(...)
paste.0(...)

Arguments

...
Passed to paste.

Value

  • A character string or vector of character strings.

Details

There's not much to these functions.

paste00(...) is like paste(..., sep="", collapse="")

paste..(...) is like paste(..., sep=".", collapse=".")

paste0.(...) is like paste(..., sep="", collapse=".")

paste.0(...) is like paste(..., sep=".", collapse="")

See Also

paste, paste0, paste.

Examples

Run this code
x <- c(3, 4)
y <- c(5, 6)

paste00(x, y)
paste..(x, y)
paste0.(x, y)
paste.0(x, y)

Run the code above in your browser using DataLab