Re: [R] merging data frame with world map

2016-03-07 Thread Boris Steipe
And more! :-) On Mar 7, 2016, at 8:15 AM, Michael Dewey wrote: > Inline > > On 07/03/2016 12:21, hoda rahmati via R-help wrote: >> Hi all,I have a data frame which have a column named COUNTRY, I want to >> merge my data frame with world map from ggmap to plot it on world map, but >> when I mer

Re: [R] merging data frame with world map

2016-03-07 Thread Michael Dewey
Inline On 07/03/2016 12:21, hoda rahmati via R-help wrote: Hi all,I have a data frame which have a column named COUNTRY, I want to merge my data frame with world map from ggmap to plot it on world map, but when I merge my data frame with world map I get 0 observations! Here is my main data fr

[R] merging data frame with world map

2016-03-07 Thread hoda rahmati via R-help
Hi all,I have a data frame which have a column named COUNTRY, I want to merge my data frame with world map from ggmap to plot it on world map, but when I merge my data frame with world map I get 0 observations! Here is my main data frame (mydata):     'data.frame':   269265 obs. of  470 variabl

Re: [R] merging data frame

2010-05-11 Thread arnaud Gaboury
oury Cc: r-help@r-project.org Subject: Re: [R] merging data frame If you just want to combine them together (rbind), try this:   > str(avprix16) 'data.frame':   16 obs. of  4 variables:  $ DESCRIPTION: chr  "COPPER May/10" "CORN May/10" "COTTON NO.2 Jul/10&

Re: [R] merging data frame

2010-05-11 Thread jim holtman
If you just want to combine them together (rbind), try this: > str(avprix16) 'data.frame': 16 obs. of 4 variables: $ DESCRIPTION: chr "COPPER May/10" "CORN May/10" "COTTON NO.2 Jul/10" "CRUDE OIL miNY May/10" ... $ prix : num -716.9 -1082 -80 -84.8 2295.5 ... $ POSITION : num -2 -

[R] merging data frame

2010-05-11 Thread arnaud Gaboury
Dear group, I have 3 data frames I would like to merge. Here they are: pose16 <- structure(list(DESCRIPTION = structure(c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 12L), .Label = c("COPPER May/10", "COTTON NO.2 Jul/10", "CRUDE OIL miNY May/10", "GOLD Jun/10", "ROBUSTA COFFEE (10) Jul/10", "SOYBEANS