I have a problem, I want to normalize a column in a dataframe in order to have this column with a standard deviation equal to 1. The sd() function return only one value of standard deviation but I want to have a normalize vector in return.
Example of my df :
df <- data.frame(name = c("1", "2", "3"), date_article = c("feb. 2021", "jan.2021", "dec. 2020"), occurences = c(3, 0, 1))
Someone can help me ? Thanks you in advance !