R/statVec.R

Defines functions statVec

Documented in statVec

statVec <- function(x, mean, sd) 
{
  X <- x
  MEAN <- mean
  SD <- sd
  Z <- (((X - mean(X, na.rm = TRUE))/sd(X, na.rm = TRUE))) * SD + MEAN
  return(Z)
}

Try the propagate package in your browser

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

propagate documentation built on Feb. 25, 2026, 5:08 p.m.