R/c.R

Defines functions c.

Documented in c.

c. <- function(x, center = NULL) {
	y <- as.numeric(x)
	if(is.null(center)) return (y - mean(y))
	else return (y - center)
}
jasongraf1/JGmisc documentation built on March 21, 2022, 7:42 a.m.