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, 2019 in Data Analytics by ratna
36 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, 2019 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,710 points
38 views
0 votes
0 answers
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, 2019 in Data Analytics by ch
• 3,380 points
18 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
148 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
213 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
97 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
127 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, 2019 in Data Analytics by Cherukuri
• 32,420 points
13,741 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, 2019 in Data Analytics by anonymous
• 32,420 points
11,428 views