Test Quiz Welcome to the Quiz on Basics of R This quiz will be automatically submitted after 15 minutes. You can see timer in the title bar of the website. All the Best !!! Team Stat Modeller Your Name Your Email Your Number You want to generate numbers in R which are alternate number from 1 to 100. Which command you will use? sequence rep repeat seq None Which command is used to create a data frame? create data frame() dataframe() data_frame() data.frame() None Which chart is suitable when there are two quantitative variables? Box Plot Histogram Clustered Bar Chart Scatter Plot None Which of the following gives warning while creating matrix? M1 <- matrix(1:6, nrow = 3, ncol = 2) M1 <- matrix(1:10, nrow = 5, ncol = 2) M1 <- matrix(1:9, nrow = 3, ncol = 3) M1 <- matrix(1:5, nrow = 3, ncol = 2) None Which command is used to import data from the CSV file in R? read.csv() import.csv() import_csv() read_csv() None How to prepare scatter plot using a base package? point() plot() scatter() xy() None What is the command to see the current working directory? currentwd() setwd() getcwd() getwd() None You can perform graphical analysis in R True False None To remove any object from the Global Environment, we can use __________ command. rm() del() delete() eliminate() None To get descriptive statistics in one command, we can use _____________. summary() statistics() describe() descriptive() None In matrix, what is the the role of "byrow = T" argument? It will eliminate rows It will arrange data row wise It will not arrange data row wise It will keep only rows None What is the command in R to check data type of the object? datatype() class() showdata() dtype() None Which is the command to create a histogram using a base package? histogram(x) plot(x) graph(x) hist(x) None To add interactivity to the charts prepared using ggplot2 package, we can use ________ package. Plotly Ggplotly DataExplorer Readxl None Data on intelligence level is collected as High, Medium and Low. Which type of data it is? Ordinal Interval Nominal Ratio None To clear console, we can use ________ command (in Windows system) Ctrl + L Ctrl + D Ctrl + C Ctrl + M None Which of the following will not generate the Logical Vector? log1 <- c("T", "F", "F", "T", "F") log1 <- c(TRUE, FALSE, FALSE, TRUE, FALSE) logi1 <- c(T, F, F, T, F) logical <- c(T, F, F, T, F) None Which package is required to import data from Excel in R? readxl read_excel excelpackage readr None Researcher is collecting data of Gender (Male, Female). Which type of data it is? Interval Nominal Ratio Ordinal None To get list of all the variables in the Global Environment, you have to use __________ command. ls() global() list_variables() list() None Which of the following are the Homogeneous structure in R? [Select all applicable] Array Vector List Matrix Which of the following are the Heterogeneous structure in R? [Select all applicable] Array Vector List Data Frame Which argument is used to give column and row name in the matrix? column() dimnames() column_name() row_name() None Mr. Gupta is collecting data of States of the respondents, what type of data it will be in R? alphabet character complex numbers state None List can hold only similar data types. True False None Please Share This Share this content Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window