Re: [R] Fw: removing factor values in the main data frame

2016-03-01 Thread Jeff Newmiller
>Texas A&M University >College Station, TX 77840-4352 > > >-Original Message- >From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of hoda >rahmati via R-help >Sent: Tuesday, March 1, 2016 10:32 AM >To: r-help@r-project.org >Subject: [R] Fw: removing fac

Re: [R] Fw: removing factor values in the main data frame

2016-03-01 Thread David L Carlson
p;M University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of hoda rahmati via R-help Sent: Tuesday, March 1, 2016 10:32 AM To: r-help@r-project.org Subject: [R] Fw: removing factor values in the main data frame Hi

[R] Fw: removing factor values in the main data frame

2016-03-01 Thread hoda rahmati via R-help
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