How to check row value of one column wrt another column?

0 votes
How to check row value of one column wrt another column?. I want to compare temp , humidity values today and yesterday at specific times and see the rise and fall overview for the day
Jul 25 in Data Analytics by ratna
19 views

1 answer to this question.

0 votes
Hi ratna,

For suppose DF is the DataFrame then we can  compare 2 column values using,

DF[,[Column Number 1]] >/</== DF[,[Column Number 2]] .

Here, column names are humidity and temp in your case
answered Jul 25 by anonymous

Related Questions In Data Analytics

0 votes
1 answer
0 votes
1 answer

Mean of one column with respect to another

Consider the inbuilt iris dataset in R. Use ...READ MORE

answered Jul 25, 2018 in Data Analytics by CodingByHeart77
• 3,690 points
32 views
0 votes
0 answers

How to get the value passed through url from one page to another in R?

How to get the value passed through ...READ MORE

2 days ago in Data Analytics by ch
• 2,170 points
4 views
0 votes
1 answer

By using dpylr package sum of multiple columns

Basically here we are making an equation ...READ MORE

answered Apr 5, 2018 in Data Analytics by DeepCoder786
• 1,720 points
105 views
0 votes
1 answer

How to convert a text mining termDocumentMatrix into excel or csv in R?

By assuming that all the values are ...READ MORE

answered Apr 5, 2018 in Data Analytics by DeepCoder786
• 1,720 points
135 views
0 votes
1 answer

In a dpylr pipline how to use sample and seq?

For avoiding rowwise(), I prefer to use ...READ MORE

answered Apr 6, 2018 in Data Analytics by DeepCoder786
• 1,720 points
78 views
0 votes
1 answer

How to create a list of Data frames?

Basically all we have to do is ...READ MORE

answered Apr 9, 2018 in Data Analytics by DeepCoder786
• 1,720 points
84 views
0 votes
2 answers

How to sum a variable by group in R?

You can also try this way, x_new = ...READ MORE

answered Jul 31 in Data Analytics by Cherukuri
• 28,040 points
8,866 views
0 votes
4 answers

How to remove NA values from a Vector in R?

You can try na.omit() or na.exclude() too. ...READ MORE

answered Jul 31 in Data Analytics by anonymous
• 28,040 points
7,236 views