Please answer in R language coding only.
Question Please answer in R language coding only. Image transcription textProblem 2 Given two vectors x and y of equal length, in one line of code (in the function body), write a functionfind_max_logical( ) that will output a single logical vector that is TRUE at the indices where the maximum valuesin x and y are. For example, given the below vectors: x <- C(Inf' 3f 2' 6f 99) Y <- C(12' 1f 0f 40; ... Show more... Show morePlease answer in R language coding only. Math Statistics and Probability STATS 20 Share QuestionEmailCopy link Comments (0)


