Displaying 1 result from an estimated 1 matches for "name_vec".
2010 Mar 02
1
Double Colors in Main
Dear All,
Consider the following trivial code snippet
rm(list=ls())
name_vec <- c("color1", "color2")
pdf("test_color.pdf")
plot(seq(5), seq(5), main=paste(name_vec[1]," and ",name_vec[2], sep=""))
dev.off()
What I would like to achieve is rather simple to explain, but it is
giving me a headache: how can I have two c...