Answered step by step
Verified Expert Solution
Link Copied!

Question

...
1 Approved Answer

MUST BE DONE IN R LANGUAGE!! Let subset.iris.2

MUST BE DONE IN R LANGUAGE!!

Let subset.iris.2 <- as.matrix(iris[, 1:4]), fill blanks in the find.max function defined below to find the maximal value in each column of subset.iris.2.

find.max <- function(x){

y <- function(xcol){

return(_________)

}

return(_______(x, ____, y))

}

________(subset.iris.2)

I can't get past the second return function. It keeps popping up with an error because it starts a new line, and isn't a continuation. I can't get the bracket spaces to work in R either.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started