MCQs > Finance & Management > R > If Y is a multi-modal vector of integers, which R function would return all modes of Y (the most frequent value(s) of Y)?

R MCQs

If Y is a multi-modal vector of integers, which R function would return all modes of Y (the most frequent value(s) of Y)?

Answer

Correct Answer: names(table(Y))[table(Y)==max(table(Y))]

Explanation:

Note: This Question is unanswered, help us to find answer for this one

R Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

R Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it