R/colname.R

`colname<-` <-
function(x,value){
colnames(x) <- replace(colnames(x),match(attr(value,'names'),colnames(x)),value)
x
}
`name<-` <-
function(x,value){
names(x) <- replace(names(x),match(attr(value,'names'),names(x)),value)
x
}

Try the metrumrg package in your browser

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

metrumrg documentation built on May 2, 2019, 5:55 p.m.