search for: currentcolumnnam

Displaying 3 results from an estimated 3 matches for "currentcolumnnam".

Did you mean: currentcolumnname
2016 Apr 08
3
why data frame's logical index isnt working
data.frame.$columnToAdd["CurrentColumnName" == "ConditionMet"] <- 1 Can someone please explain to me why the above command gives all NAs to columnToAdd? I thought this was possible in R to do logical expression in the index of a data frame [[alternative HTML version deleted]]
2016 Apr 08
0
why data frame's logical index isnt working
> On Apr 7, 2016, at 6:46 PM, Michael Artz <michaeleartz at gmail.com> wrote: > > data.frame.$columnToAdd["CurrentColumnName" == "ConditionMet"] <- 1 > > Can someone please explain to me why the above command gives all NAs to > columnToAdd? I thought this was possible in R to do logical expression in > the index of a data frame It is possible, but please execute this at a console line an...
2016 Apr 08
1
why data frame's logical index isnt working
...a column(vector)? I will stop using data.frame, thanks a lot! On Thu, Apr 7, 2016 at 9:29 PM, David Winsemius <dwinsemius at comcast.net> wrote: > > > On Apr 7, 2016, at 6:46 PM, Michael Artz <michaeleartz at gmail.com> wrote: > > > > data.frame.$columnToAdd["CurrentColumnName" == "ConditionMet"] <- 1 > > > > Can someone please explain to me why the above command gives all NAs to > > columnToAdd? I thought this was possible in R to do logical expression > in > > the index of a data frame > > It is possible, but please...