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
29 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
36 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

Oct 16 in Data Analytics by ch
• 3,290 points
14 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
128 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
184 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
91 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
115 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
• 32,260 points
11,932 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
• 32,260 points
9,684 views