adplus-dvertising
frame-decoration

Question

If the programmers want the output to be a data frame or a vector, then ________ function is used.

a.

Lapply

b.

Sapply

c.

Vapply

d.

Zapply

Posted under R Programming

Answer: (a).Lapply

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If the programmers want the output to be a data frame or a vector, then ________ function is used.

Similar Questions

Discover Related MCQs

Q. If a programmer wants the output to be a list then ___________ function is used.

Q. _____________ function is preferred over sapply as vapply allows the programmer to specific the output type.

Q. Which function is difficult to implement?

Q. Which function is more verbose?

Q. _____________ will produce a sequential vector c( (1,2,3,4,5,6,7,8,9)).

Q. __________ function is used for reading the .csv file in R language.

Q. The line of code in R language should begin with a ________________

Q. _______________ returns TRUE then X can be termed as a matrix data object.

Q. If two vectors with different lengths perform some operation, the elements of the shorter vector will be used again to complete the operation. This is referred to as _________________

Q. If the function in a console is.matrix(X) returns true then X can be considered as a _______

Q. ______________ measures the probability of the binary response variable in R language.

Q. ______________ function will measure the probability of the binary response variable in R language.

Q. ____________ function can be used to select the random sample of size ā€˜nā€™ from a huge dataset.

Q. Which function is used to select variables and observations from a given dataset?

Q. ____________ package in R language provides various options for re-randomization and permutations based on statistical tests.

Q. A matrix of scatterplots can be produced using _________ function.

Q. __________ function takes various parameters like formula, data, subset, labels, etc.

Q. How will you check if an element is present in a vector?

Q. ________ function is usually used inside another function and throws a warning whenever a particular package is not found.

Q. ___________ function gives an error message if the desired package cannot be loaded.