Remove duplicated full stops
remove_dots.RdA convenience function to remove any duplicated full stops
(aka periods) from the elements of a vector, e.g. will change .. or ...
or .... etc. to just . Mainly used to fix column names.
Examples
df <- data.frame(
column...name = c(1, 2, 3)
)
colnames(df) <- remove_dots(colnames(df))