Learn R Programming

err (version 0.2.0)

err_wrappers: Wrappers with Conjunction and '' Brackets.

Description

Wrappers with Conjunction and '' Brackets.

Usage

cc_and(object)

cc_or(object)

co_and(object, one = "%o has %n value%s: %c", object_name = substitute(object))

co_or(object, one = "%o has %n value%s: %c", object_name = substitute(object))

Arguments

object

The object with values to concatenate.

one

The string to return if n = 1

object_name

A string of the object name.

Functions

  • cc_and: Concatenation with Commas and And Conjunction

  • cc_or: Concatenation with Commas and Or Conjunction

  • co_and: Customizable Object Aware String and And Conjunction

  • co_or: Customizable Object Aware String and Or Conjunction

See Also

cc and co

Examples

Run this code
# NOT RUN {
cc_and(1:100)
cc_or(100:1)
co_and(1:100)
co_or(100:1)
# }

Run the code above in your browser using DataLab