R - Scale

Statistics - Scale and Statistics - Z Scale

scale(data$attribute)