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
I also tried droplevels but after getting str(submydata) again I see no changes
in COUNTRY
On Tuesday, March 1, 2016 8:38 AM, Ulrik Stervbo
wrote:
Hi,
I think droplevels(df) is what you are looking for.
Best wishes,
Ulrik
On Tue, 1 Mar 2016 at 17:33 hoda rahmati via R-help
wrote
Hi all,I have the following main data frame:(mydata) $ TE : num 40 40
20 20 20 20 20 20 20 40 ... $ TR : num 49 49 28 28 28 28 28 28 28 49 ...
$ COUNTRY : Factor w/ 27 levels "","AU","BA","BE",..: 8 8 8 8 8 ...among
the COUNTRY I just need US and AU,first I get a subs
Hi all,I have the following main data frame:(mydata) $ TE : num 40 40 20
20 20 20 20 20 20 40 ... $ TR : num 49 49 28 28 28 28 28 28 28 49 ...
$ COUNTRY : Factor w/ 27 levels "","AU","BA","BE",..: 8 8 8 8 8 ...among
the COUNTRY I just need US and AU,first I get a subset to c
It seems to me that you misunderstand how objects (data.frames) in R work.
see in line
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of hoda
> rahmati via R-help
> Sent: Wednesday, February 24, 2016 3:39 PM
> To: r-help@r-project.org
> Subject:
Hi all,
I have a data set (mydata) containing 471 variables. One of the columns looks
as below
$ Sequence : Factor w/ 3 levels "","%Seq%gre",..: 2 2 2 2 2 2 2 2 2 2 ...
sequence contains %Seq%gre and %Seq%tse and I extract only %Seq%tse and add it
to my variables and plot a scatterplot of m
6 matches
Mail list logo