omxQuotes

Back to top

1) Description:

omxQuotes pastes quotation marks ("") around its argument.

Back to top

2) Usage:

omxQuotes(name)

Back to top

3) Arguments:

name: a character vector to insert quotation marks around.

Back to top

4) Example:

modelName - flatModel@name
object - flatModel[[threshName]]
if (is.null(object)) {
	stop(paste("The thresholds matrix/algebra", omxQuotes(threshName), 
			"for model", omxQuotes(modelName), 
			"does not exist."), call. = FALSE)
}

Back to top