Posts by user7004 • 321 points
3 posts
-
5
votes2
answers14389
viewsQ: How to filter a data frame?
I have a 5597 rows and 7 columns data frame. I would like to filter the results of that data frame so that only the lines in which the second column is written "AC" appear. I tried to use the…
-
6
votes5
answers14983
viewsQ: How to merge multiple dates frames into one
I want to create a data frame as a junction of 4 other data frames. I was able to do this using such commands: ZHO<-as.data.frame.matrix(zho) ZHO ZES<-as.data.frame.matrix(zes) ZES…
-
11
votes2
answers15918
viewsQ: Delete lines containing NA in a data frame
I have a data frame and in the fourth column there are several NA cells. I would like to know how to delete all lines that have NA. I used this command but they keep showing up dataframe1 r <-…