Learn R Programming

panelPomp (version 1.7.0.0)

wQuotes: Interpret shortcuts for sQuote()s and dQuote()s in character objects

Description

Concatenate character objects and replace double quotes with sQuote() (write ''x'' instead of dQuote("x")) and replace asterisks with dQuote().

Usage

wQuotes(...)

Value

A character object.

Arguments

...

objects to be passed to strsplit.

Author

Carles Bretó

Examples

Run this code
paste0("in ",sQuote("fn_name"),": ",dQuote("object")," is 'a' required argument")
wQuotes("in ''fn_name'': *object* is 'a' required argument") # same but shorter

Run the code above in your browser using DataLab