Answered using @thelatemail user.
df = read.table(sep="",
header=T,
text="Name Age Rate
Aira 23 90
Ben 32 98
Cat 27 95")
df$Rate2 = df$Rate
Another option for duplication, duplication or "n plicate":
n = 3
df3 = cbind(df, replicate(n,df$Rate))
df3
Name Age Rate 1 2 3
1 Aira 23 90 90 90 90
2 Ben 32 98 98 98 98
3 Cat 27 95 95 95 95
source
share