Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

ST 308 QUIZ 3 QUESTIONS & VERIFIED ANSWERS

Rating
-
Sold
-
Pages
3
Grade
A+
Uploaded on
05-06-2026
Written in
2025/2026

ST 308 QUIZ 3 QUESTIONS & VERIFIED ANSWERS

Institution
Course

Content preview

ST 308 QUIZ 3 QUESTIONS & VERIFIED ANSWERS


What is the purpose of the mutate() function from dplyr? - Answers - To add newly
created variables to an already existing tibble

Which function below allows us to instruct R to create summaries of our data by
subgroups? - Answers - group_by()

What is the correct output for the code below?
if_else(30>20, 1, 10) - Answers - 1

What is meant by long format data? - Answers - Long format data is data where each
row represents one observation on a unit.

Which package from the tidyverse do the pivot, wider(), longer() functions come from? -
Answers - tidyr

What is the purpose of the separate() function? - Answers - functionality for splitting up
a column of a tibble!

separate() and _____ are complementary functions. That is, they do the opposite
operations. - Answers - unite()

Which of the following would likely be categorical variables?
Favorite website
Zip Code
Hours watching tv in a day
Number of children - Answers - Favorite website
Zip Code

What type of object does the table() function return? - Answers - array

created a contingency table using the following code:
table(titanicData$sex, titanicData$embarked, titanicData$survived)
The levels for each variable are ordered as follows:
- sex (female, male)
- embarked (C, Q, S)
- survived(0, 1)
How do you access the Sex by Survived two-way table for those that embarked at the
"S" port? - Answers - tab[ , 3 , ]

What aspects of a numeric variable's distribution do we generally try to describe with
numbers? - Answers - Center and Spread

Written for

Institution

Document information

Uploaded on
June 5, 2026
Number of pages
3
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GEEKA YALA UNIVERSITY
Follow You need to be logged in order to follow users or courses
Sold
2119
Member since
4 year
Number of followers
1446
Documents
55907
Last sold
2 days ago

3.8

360 reviews

5
179
4
61
3
48
2
17
1
55

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions