adplus-dvertising
frame-decoration

Question

What will be the output of the following R code?
x <- (“a”, “b”)
       as.logical(x)

a.

a b

b.

“a” “b”

c.

1 1

d.

Error

Posted under R Programming

Answer: (d).Error

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of the following R code?

Similar Questions

Discover Related MCQs

Q. Which of the following is not an object of R?

Q. Is It possible to inspect the source code of R?

Q. How to install for a package and all of the other packages on which for depends?

Q. __________ function is used to watch for all available packages in library.

Q. The longer programs are called ____________

Q. Scripts will run on ___________________

Q. Which of the following is a “Recommended” package in R?

Q. Full Form of GUI is ___________________

Q. ____________ provides a point-and-click interface to many basic statistic problems.

Q. In which IDE we can interact with R?

Q. Which programming language is more based on the results?

Q. Why learning R becomes tough?

Q. R is mostly used in ______________

Q. Why is it needed for R studio to update regularly?

Q. What is the meaning of “<-“?

Q. In the expression x <- 4 in R, what is the class of ‘x’ as determined by the `class()’ function?

Q. Which language is best for the statistical environment?

Q. In order to use the R-related functionality in Dundas BI, you must have access to an existing _________

Q. The open source _________ software is available for Unix, Linux, and Windows platforms.

Q. Modification in Dundas BI is done ______________