I am trying to underline the mean value in the following plot:
dummy <- c(4, 9, 6, 5, 3)
barplot(dummy)
text(4, 8,paste('Average value', mean(dummy)))
I tried using underline()
but it says it could not find the function.
text(4, 8,paste('Average value', underline(mean(dummy))))
Error:
could not find function "underline"
I am using : R version 3.1.0
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…