Functions are defined using the _________ directive and are stored as R objects

Data Analytics Quiz 2

Quiz
•
Computers
•
Professional Development
•
Hard

Shom Das
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
function()
funct()
functions()
All of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Give the command to check if the element 15 is present in vector x.
15 in (x)
15 %in% x
in(15,x)
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
X is the vector c(5,9.2,3,8.51,NA), What is the output of mean(x)?
Error
NA
Will return mean of all integers present
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
R functionality is divided into a number of ________
Packages
Functions
Domains
All of the mentioned
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following truncates real x to integers ?
as.numeric(x)
as.integer(x)
as.order(x)
All of the mentioned
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following command will help us to rename the second column in a dataframe named “table” from alpha to beta?
colnames(table)[2]=’beta’
colnames(table)[which(colnames==’alpha’)]=’beta’
Both A and B
colnames(table)=’beta’
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following command will help us remove the duplicate rows based on both the columns?
df[!duplicated(df),]
unique(df)
distinct(df)
both a and b
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Module 2 Review

Quiz
•
Professional Development
15 questions
Agile & Testing Recap

Quiz
•
Professional Development
23 questions
OCA Unit 1

Quiz
•
11th Grade - Professi...
20 questions
Exploratory Data Analysis

Quiz
•
Professional Development
20 questions
ANOVISION ROUND 2

Quiz
•
Professional Development
20 questions
Introduction to Machine Learning

Quiz
•
University - Professi...
18 questions
[AI-900] Módulo 02 - Simulado

Quiz
•
Professional Development
20 questions
Quiz 5.1

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade