search for: place5

Displaying 2 results from an estimated 2 matches for "place5".

Did you mean: place
2008 Sep 29
3
replicating dataframe rows
...below, and I would like to expand my data.frame using "population" variable. So, for each line of my data.frame I would like that the new data.frame have many rows as the population collumn. place<-c("place1", "place2", "place3", "place4", "place5") population<-c(100,200,300,50,30) my.df<-data.frame(cbind(place,population)) my.df best wishes, miltinho astronauta brazil [[alternative HTML version deleted]]
2008 Oct 15
0
R-help Digest, Vol 67, Issue 31
...below, and I would like to expand my data.frame using "population" variable. So, for each line of my data.frame I would like that the new data.frame have many rows as the population collumn. place<-c("place1", "place2", "place3", "place4", "place5") population<-c(100,200,300,50,30) my.df<-data.frame(cbind(place,population)) my.df best wishes, miltinho astronauta brazil [[alternative HTML version deleted]] ------------------------------ Message: 50 Date: Mon, 29 Sep 2008 11:28:55 -0600 From: Greg Snow <Greg.Snow at imai...