adplus-dvertising
frame-decoration

Question

Which of the variable in the following R code is variable?
> f <- function(x, y) {
+            x^2 + y / z
+ }

a.

x

b.

y

c.

z

d.

yy

Posted under R Programming

Answer: (c).z

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the variable in the following R code is variable?

Similar Questions

Discover Related MCQs

Q. Point out the wrong statement?

Q. R uses _________ scoping or static scoping.

Q. The only environment without a parent is the ________ environment.

Q. The ________ for R are the main feature that make it different from the original S language.

Q. The _________ function is a kind of “constructor function” that can be used to construct other functions.

Q. ________ functions can be “built which contain all of the necessary data for evaluating the function.

Q. Point out the wrong statement?

Q. Which of the following language supports lexical scoping?

Q. _________ require you to pass a function whose argument is a vector of parameters.

Q. Point out the correct statement?

Q. The _________ function is used to plot negative likelihood.

Q. ________ loop over a list and evaluate a function on each element.

Q. Point out the wrong statement?

Q. __________ function is same as lapply in R.

Q. Which of the following is multivariate version of lapply?

Q. Point out the correct statement?

Q. ________ applies a function over the margins of an array.

Q. _______ is used to apply a function over subsets of a vector.

Q. lappy functions takes _________ arguments in R language.

Q. Body of lapply function is?