SyntaxFix
Write A Post
Hire A Developer
Questions
Instead of 1:nrow(mydata_2) you can simply use the which() function: which(mydata_2[,4] == 1578)
1:nrow(mydata_2)
which()
which(mydata_2[,4] == 1578)
Although as it was pointed out above, the 3rd column contains 1578, not the fourth: which(mydata_2[,3] == 1578)
which(mydata_2[,3] == 1578)