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 July 8, 2024, 6:50 a.m.