I have a quick question. I have a dataframe that I'm using in a dashboard which shows rowwise percentages. I've calculated this using the (second line of) code below, but I would really like a percentage sign after each row (except for the row 'count' of course). It's just for visual purposes of the dashboard, so I've tried finding out if I can just paste/paste0 the '%'-sign in there, but without luck. Any suggestions? Much appreciated!
Dataframe:
df <- as.data.frame(matrix(sample(seq(0,40), 20, replace=T ), 4, 5))
df <- rowPercents(df, digits = 0)