PROBLEM SOLVING USING R - UNIT II - TEST 1 - MCQS

PROBLEM SOLVING USING R - UNIT II - TEST 1 - MCQS

University

15 Qs

quiz-placeholder

Similar activities

Quiz 8: Arrays&Vector

Quiz 8: Arrays&Vector

University

10 Qs

LOOKUP

LOOKUP

9th Grade - University

20 Qs

bootstrap let's play

bootstrap let's play

University

15 Qs

SUMATIF 1 ANALISIS DATA

SUMATIF 1 ANALISIS DATA

8th Grade - University

16 Qs

U26 Q5 The Matrix!

U26 Q5 The Matrix!

KG - University

14 Qs

Understanding Inner Joins in SQL

Understanding Inner Joins in SQL

9th Grade - University

20 Qs

Typing

Typing

KG - University

12 Qs

Intro Bootrstrap

Intro Bootrstrap

University

10 Qs

PROBLEM SOLVING USING R - UNIT II - TEST 1 - MCQS

PROBLEM SOLVING USING R - UNIT II - TEST 1 - MCQS

Assessment

Quiz

Computers

University

Medium

Created by

MS.SHYAMALADEVI C

Used 4+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a matrix in R?

A one-dimensional array

A two-dimensional array

A collection of data frames

A statistical model

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you define a matrix in R using the matrix() function?

matrix(data)

matrix(data, nrow)

matrix(data, ncol)

matrix(data, nrow, ncol)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which argument in the matrix() function determines the direction of filling the elements?

byrow

bycolumn

fill

direction

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you bind two matrices by rows in R?

bind_rows()

rbind()

row_bind()

merge()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the dim() function return in R?

Number of rows in a matrix

Number of columns in a matrix

Dimensions of a matrix

Data type of a matrix

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you subset a specific row in a matrix in R?

matrix[row, ]

matrix[, row]

matrix[row]

matrix[row, col]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you extract a specific column from a matrix in R?

matrix[row, ]

matrix[, col]

matrix[col]

matrix[row, col]

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?