powered by
center(v)
data <- gen.data(n=100) y.centered <- center(data$y)
Run the code above in your browser using DataLab