Using a value of a variable in title …

Using a value of a variable in title

Use paste and eval.

plot(x, main = paste("Cluster", eval(i))

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *