search for: tp4101892p4102066

Displaying 1 result from an estimated 1 matches for "tp4101892p4102066".

2011 Nov 23
2
Looping and paste
Dear R helpers I'm trying to make up some labels for plot from this vector BndY<-seq(from = 18900,to= 19700, by = 50) using Ylab<-for(i in BndY) {c((paste(i," to ",i+50,"mN")))} but the vector created is NULL However if i use for(i in BndY) {print(c(paste(i," to ",i+50,"mN")))} I can see the for loop is making the labels I'm looking for