Body Of Lapply Function Is #489
Body of lapply function is?
This multiple choice question (MCQ) is related to the book/course gs gs110 R Language. It can also be found in gs gs110 Control Structures, Functions, Scoping Rules, Loop Functions and Debugging - Loop Functions - Quiz No.1.
Body of lapply function is?
function (X, FUN, ...) { FUN <- match.fun(FUN) if (!is.vector(X) || is.object(X)) X <- as.list(X) .Internal(lapply(X, FUN)) }
function (X, FUN, ...) { FUN <- match.fun(FUN) if (!is.vector(X) | is.object(X)) X <- as.list(X) .Internal(lapply(X, FUN)) }
function (X, FUN, ...) { FUN <- match.fun(FUN) if (is.vector(X) || is.object(X)) X <- as.list(X) .Internal(lapply(X, FUN)) }
function (X, FUN, ...) { FUN <- match.fun(FUN) if (is.vector(X) || is.object(X)) }