adplus-dvertising
frame-decoration

Question

Which of the following will reverse the order of values in x?

a.

rev(x)

b.

max(x, na.rm=TRUE)

c.

all(x)

d.

x%in%y

Posted under R Programming

Answer: (a).rev(x)

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 following will reverse the order of values in x?

Similar Questions

Discover Related MCQs

Q. Which of the following finds row sums for each level of a grouping variable?

Q. Which of the following statement applies the function (FUN) to either rows (1) or columns (2) on object X?

Q. Which of the following statement finds the maximum for each column?

Q. Which of the following statement tells the row with the minimum value for every column?

Q. Which of the following may be used for linear regression?

Q. Which of the following sets the size of the outer margins for the graph?

Q. Which of the following function is used for plotting histogram?

Q. Which of the following will add the title “R language” to the graph?

Q. ______ let’s you perform SQL queries on your R data frames.

Q. ______ splits a data frame and results an array.

Q. ________ makes it incredibly easy to fit time series models like ARIMA, ARMA, AR, Exponential Smoothing, etc.

Q. ________ provides needed string operators in R.

Q. Which of the following syntax is used to install forecast package?

Q. Which of the following is similar to Moment.js?

Q. Which of the following is a library for statistical quality control?

Q. ______ specializes in converting data from wide to long format.

Q. _________ is used to convert wide data to long data.

Q. ______ is used to view all packages installed.

Q. ______ is used to get library location in R.

Q. ________ is used to view packages currently loaded.