Got an error on Assignment problem
Title
Question
I am trying to do the assignment but every time I got an error. Please provide me some useful solution
my code is - subData <- subset(captaincy,played>20,lost<14,
select = c("names","played","lost"))
print(subData)
My ans - names played lost
Mahi 45 12
Sourav 49 13
Azhar 47 14
Sunny 47 8
Pataudi 40 19
Dravid 25 6
R Indexing-and-Slicing-Data-Frames 12-13 min 30-40 sec
Answers:
Please note that the two conditions should be added as shown below:
played>20 & lost > 14
Login to add comment