• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 3 pages
Other

Dsci 100 Final Study Guide

Document preview thumbnail
Preview 1 out of 3 pages

DSCI 100 FINAL STUDY GUIDE

Content preview

DSCI 100 FINAL STUDY GUIDE


load repr library - Answers - library(repr)

filter does what - Answers - gets a subset of rows from data frame meeting criteria

what does mutate do - Answers - - adds a new column from data frame
- overwrites/changes a column to a data frame

how do you make data reproducible? - Answers - use code to perform an analysis of the
data. all analysis should be done and stored with code, as opposed to excel.

advantages of a relative path - Answers - - reproducible
works from another computer without changes

tbl(conn, "projects") - Answers - gets table "projects" from conn connection in database.
creates usable data frame in R

fill in for planes that do NOT have 55 seats but who's year is earlier than 2000

tailnum_df <- planes|>
...(...)|>
filter(...&...) - Answers - - select
- tailnum
- seats!=55
- year<2000

fill in for the tailnum of planes that have 55 seats who's year is earlier than 2000
planes|> filter(...)|> select(...) - Answers - seats==55, year<2000
tailnum

trying to determine island from beak_depth and beak_length
penguins<-penguins|>
mutate(island=...(island))

knn_recipe<-recipe(...~..., ...=...) |>
...(all_predictors()) - Answers - - as_factor
- island
- beak_length+beak_width
- data
- penguins

when to use classification - Answers - when you're trying to find a categorical value

Document information

Uploaded on
June 11, 2026
Number of pages
3
Written in
2025/2026
Type
Other
Person
Unknown
$11.99

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

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
3.8
(376)
Sold
2216
Followers
1450
Items
62635
Last sold
6 hours ago



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