All Questions
2 questions
0
votes
3
answers
96
views
How can I remove duplicate values by looking at other column values in the data frame?
There are two columns with opposite values of item1 and item2 columns, and the order of the columns is random.
I want to find and remove data with the same values in columns item1 and item2.
like this....
2
votes
1
answer
667
views
order a row by column name of other data frame and match in length
For example you have this data frame :
dd <- data.frame(b = c("cpg1", "cpg2", "cpg3", "cpg4"),
x = c("A", "D", "A", "C"), y = c(8, 3, 9, 9),
z = c(1, 1, 1, 2))
...