Search Header Logo

R_final

Authored by Geeta Gupta

Computers

University

Used 1+ times

R_final
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to find average value in R?

ave()

average()

mean()

sum()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using head(x)?

Returns first 6 values of x

Returns all values of x

Returns last 6 values of x

Returns first value of x

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All the basic statistical information can be seen using the command_____

summary()

plot()

view()

disp()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command will produce histogram for the data set x?

hist(x)

Hist(x)

histogram(x)

histo(x)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to show frequency of categorical data?

Scatterplot

Bar Chart

Histogram

Line graph

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of

a=c(1,2,NA)

sum(a)

3

0

NA

[ ]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of

a=c(0,1,2,-1,-2)

as.logical(a)

FALSE TRUE TRUE TRUE TRUE

FALSE TRUE TRUE FALSE FALSE

FALSE TRUE FALSE FALSE FALSE

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers