df <- transform(df, N = (df$N - min(df$N)) / (max(df$N) - min(df$N))
or as @jogo commented:
df <- transform(df, N = (N - min(N)) / (max(N) - min(N))
1
solved Normalization of only one column in data frame
df <- transform(df, N = (df$N - min(df$N)) / (max(df$N) - min(df$N))
or as @jogo commented:
df <- transform(df, N = (N - min(N)) / (max(N) - min(N))
1
solved Normalization of only one column in data frame