trim_final_colon: Remove any trailing ":" colon from each element of a...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/trim_final_colon.R

Description

Strips out a trailing colon (if it is present) from each element of a character string. This is to deal with the apparent (but troublesome) fact that glht results from "lmerMod" do not add such a colon, but results from the same function call on a "gam" object do, which was causing errors when they were combined.

Usage

1

Arguments

x

character vector or NULL

Value

a character vector or NULL

Author(s)

Bill Forrest forrest@gene.com

See Also

character

Examples

1
2
3
 strings_with_colons <- c("cat:", "dog",  ":")
 
 trimmed_strings <- maeve:::trim_final_colon( strings_with_colons )

wfforrest/maeve documentation built on Jan. 1, 2021, 12:47 p.m.