adplus-dvertising
frame-decoration

Question

Two vectors M and N are defined as M <- c(3, 2, 4) and N <- c(1, 2). What will be the output of vector Z that is defined as Z <- M*N.

a.

Z <- (3, 2, 4)

b.

Z <- (3, 6, 4)

c.

Z <- (3, 4, 5)

d.

Z <- (3, 4, 4)

Answer: (d).Z <- (3, 4, 4)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Two vectors M and N are defined as M <- c(3, 2, 4) and N <- c(1, 2). What will be the output of vector Z that is defined as Z <- M*N.

Similar Questions

Discover Related MCQs

Q. How missing values and impossible values are represented in R language?

Q. CRAN package ecosystem has more than ______ packages.

Q. Which function in R language is used to find out whether the means of 2 groups are equal to each other or not?

Q. __________ is the best way for communicating the results of data analysis using the R language.

Q. How many types of data structures does R language have?

Q. __________ is the easiest method for reshaping the data before analysis.

Q. ___________ function is used to apply an expression for a given dataset.

Q. __________ package is used to speed up data frame management code.

Q. Which package can be integrated with dplyr for large fast tables?

Q. In the base graphics system, which function is used to add elements to a plot?

Q. What are the different types of sorting algorithms available in R language?

Q. What is the command used to store R objects in a file?

Q. ___________ can be used for storing the data for long-term.

Q. MapReduce jobs submitted from either Oozie, Pig or Hive can be used to encode, improve and sample the data sets from _________ into R.

Q. What will be the output of log (-5.8) when executed on R console?

Q. How is a Data object represented internally in R language?

Q. Which package in R supports the exploratory analysis of genomic data?

Q. __________ can contain heterogeneous inputs.

Q. ________ function can be used to add datasets in R provided with the columns in the datasets should be the same.

Q. _________ variables are categorical variables which can hold either string or numeric values.