Displaying 1 result from an estimated 1 matches for "tp26392102p26392102".
2009 Nov 17
1
Add "bin" variable to dataframe
...bin 2, bin 3 etc.
Below is a start.
x<-rnorm(100, mean=100, sd=30) #Generates sample distances
breaks = seq(0, 200, l = 11) #Generates 10 bins of equal distance (i.e.
20km)
Any ideas?
Best,
Gunadi
--
View this message in context: http://old.nabble.com/Add-%22bin%22-variable-to-dataframe-tp26392102p26392102.html
Sent from the R help mailing list archive at Nabble.com.