Re: [R] adding a column to data frame solving the replacement problem

2016-02-24 Thread PIKAL Petr
t.org > Subject: [R] adding a column to data frame solving the replacement > problem > > 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

[R] adding a column to data frame solving the replacement problem

2016-02-24 Thread hoda rahmati via R-help
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