• 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 2 out of 9 pages
Exam (elaborations)

Visual_Analytics_Week3_Solved

Document preview thumbnail
Preview 2 out of 9 pages

Follow the instructions in the book to create a new project. Give it a name and an author. Execute the 3 code snippets from the preface to bring all the packages into this new project then create a new R Markdown document as instructed by the book. Load the tidyverse and socviz libaries. In order to execute code in an R Markdown object, the code must be enclosed by: ```{r}.....``` Use R studio to complete the following: 1. create a vector of the names of the members of your immediate family 2. display it 3. create a vector of numbers 4. find the mean of the numbers in the vector you created 5. assign the results of a function to an object 6. display the object 7. determine the class of the vector 8. change the class of the vector to character 9. show the new class 10. show the titanic dataframe 11. show the class of titanic 12. convert the titanic dataframe to a tibble 13. show the structure of various objects 14. show the structure of the mpg dataframe (mpg is an example dataset showing mileage for cars of various models and with different numbers of cylinders) 15. show the contents of the mpg dataframe 16. create a scatterplot of the mpg dataset 17. create an object called 'url' with the organ donation file in it 18. create an object with the organ donation data, find the structure of that object, load the gapminder dataset (watch this video to learn more about gapminder) 19. make a scatterplot of the gdpPercap and lifeexp


Connected book
 image
Kieran Healy Data Visualization
Publisher: 2018 ISBN: 9780691185064 Edition: Unknown

Document information

Uploaded on
April 4, 2023
File latest updated on
July 11, 2023
Number of pages
9
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers
$10.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.
datascience24
4.5
(12)
Sold
87
Followers
16
Items
159
Last sold
6 months 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

Whoops! We can’t load your doc right now. Try again or contact support.