R/grep.col.R

Defines functions grep.col

grep.col <-
function(string,data){x <- grep(string,colnames(data),fixed = T)
if(length(x) == 0){
	 x <- 0
}
if(length(x) > 1){
	cat("\rwarning, more than one match found")
}
return(x)	
	}

Try the mqqc package in your browser

Any scripts or data that you put into this service are public.

mqqc documentation built on July 30, 2020, 3 p.m.