which() converts TRUE positions from is.na(x) into their numeric indices.
Why Practice with Avatto?
High Quality MCQsExam-focused questions with accurate answersDetailed ExplanationsStep-by-step explanations to enhance learningLatest Exam PatternBased on updated syllabus and patternPerformance AnalyticsTrack performance and improve weak areas100% Free PracticePractice unlimited questions for free