R Basics

Quiz
•
Mathematics
•
University
•
Hard
Mohana N
Used 43+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following command will help you to generate 10 random values between 1000 and 2000?
sample(1000:2000,10)
seq(1000,2000,10)
sample(1000,2000,10)
seq(1000:2000,10)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to find the total number of data in a variable 'x'?
size(x)
length(x)
number(x)
data(x)
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which command is used to find an average value of data 'x'?
ave(x)
mean(x)
average(x)
sum(x)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of using head(x)?
Returns first 6 values of x
Returns all the values of x
Returns last 6 values of x
Returns central values of x
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Can you choose the write command to find the value of 8/39 as 0.2051?
approx(8/39,4)
vpa(8/39,4)
round(8/39,4)
scale(8/39,4)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following command is used to find 20 random values between 20 and 30 ?
sample(20,20:30,T)
sample(20:30,20)
sample(20:30,20,T)
sample(20,20:30)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following command gives us the data 'x' in descending order?
sort(x,TRUE)
sort(x,decreasing=T)
sort(x,T)
All the given commands are true
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Simple Probability and Complement and Sample Space

Quiz
•
7th Grade - University
15 questions
Probability Finding Sample Space

Quiz
•
7th Grade - University
13 questions
Sampling Means and Proportions

Quiz
•
12th Grade - University
20 questions
AP Stats Notations

Quiz
•
12th Grade - University
15 questions
And Probabilities

Quiz
•
12th Grade - University
20 questions
Estimating Population Mean Sigma Known

Quiz
•
11th Grade - University
15 questions
Normal Probability Sample Means

Quiz
•
12th Grade - University
13 questions
Normal Distributions and Sampling Distributions

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade