Questions and Answers
Which function is used to read data from a text file in R?
What is the default value for the header
argument in the read.csv
function?
Which function is used to view the first 6 rows of a data frame in R?
What does the dim()
function in R return?
Signup and view all the answers
Which function is used to create a vector in R?
Signup and view all the answers
What does the length() function return?
Signup and view all the answers
How do you access items in a matrix using index numbers?
Signup and view all the answers
Which function is used to add columns to a matrix in R?
Signup and view all the answers
Which function can be used to export data as a text file in R?
Signup and view all the answers
What is the most convenient and standard representation for data analysis in R?
Signup and view all the answers
Which of the following is an example of qualitative data?
Signup and view all the answers
Which data structure is commonly used in R for organizing tabular data?
Signup and view all the answers
What is the difference between ordinal and nominal data?
Signup and view all the answers
What types of features/attributes are important to recognize in tabular data?
Signup and view all the answers
Which of the following is an example of continuous data?
Signup and view all the answers
What are the possible categories for binary data?
Signup and view all the answers
Which function is used to create a factor in R?
Signup and view all the answers
Which function is used to access items in a data frame column in R?
Signup and view all the answers
What is the purpose of the summary() function in R?
Signup and view all the answers
What is the correct way to remove the first row and column from a data frame in R?
Signup and view all the answers
Which of the following is a valid object name in R?
Signup and view all the answers
What is the data type of the object 'x' after executing the code 'x <- 5.5' in R?
Signup and view all the answers
Which R data structure is used to store a list of items of the same type?
Signup and view all the answers
What does the function 'str(dat)' do in R?
Signup and view all the answers
Which type of attribute can be split further into two types: symmetric or asymmetric based on whether or not their values are equally informative?
Signup and view all the answers
Which type of attribute can be split into two types: interval and ratio?
Signup and view all the answers
Which type of attribute can be split into discrete and continuous ones?
Signup and view all the answers
Which operations can be applied to every type of attribute except nominal?
Signup and view all the answers
Which operations can be applied to only ratio attributes?
Signup and view all the answers
Which operations may also be inapplicable for some attributes?
Signup and view all the answers
Which function is used to check the data type of an object in R?
Signup and view all the answers
What is the data type of the object 'hp' in the given data frame?
Signup and view all the answers
Which R data structure is commonly used for organizing tabular data?
Signup and view all the answers
What is the purpose of the summary() function in R?
Signup and view all the answers
Which of the following is an example of quantitative data?
Signup and view all the answers
What is the difference between ordinal and nominal data?
Signup and view all the answers
Which of the following is an example of binary data?
Signup and view all the answers
Which type of attribute can be split into two types: interval and ratio?
Signup and view all the answers
Which function is used to import data from a CSV file in R?
Signup and view all the answers
What is the purpose of the names()
function in R?
Signup and view all the answers
Which function is used to check the class of each column in a data frame in R?
Signup and view all the answers
What does the dim()
function in R return?
Signup and view all the answers
Which function is used to create a vector in R?
Signup and view all the answers
Which function is used to access items in a data frame column in R?
Signup and view all the answers
What does the length() function return in R?
Signup and view all the answers
What does the dim() function in R return?
Signup and view all the answers
Which function is used to create a factor in R?
Signup and view all the answers
What does the dim()
function in R return?
Signup and view all the answers
What is the correct way to remove the first row and column from a data frame in R?
Signup and view all the answers
What does the length() function return?
Signup and view all the answers
Which function is used to export data as a text file in R?
Signup and view all the answers
What is the correct way to remove the first row and column from a data frame in R?
Signup and view all the answers
What type of attribute can be split into two types: interval and ratio?
Signup and view all the answers
What is the purpose of the summary() function in R?
Signup and view all the answers
Which type of attribute can be split further into two types: symmetric or asymmetric based on whether or not their values are equally informative?
Signup and view all the answers
Which type of attribute can be split into two types: interval and ratio?
Signup and view all the answers
Which operations can be applied to every type of attribute except nominal?
Signup and view all the answers
What is the purpose of the summary() function in R?
Signup and view all the answers
Which function is used to read data from a text file in R?
Signup and view all the answers
What does the length() function return?
Signup and view all the answers