Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using R to answer these question. Tkan you Starting from the commands below, make the following changes to the plot: (Please ignore all warning messages)

image text in transcribed

image text in transcribed

Using R to answer these question. Tkan you

Starting from the commands below, make the following changes to the plot: (Please ignore all warning messages) (a). Use scale_x_continuous to show x-axis in log scale and make the x-axis title "Price". Then change the labels of x-axis to dollar and set the limits of x-axis to c(10,1000). (b). Use scale_x_continuous to show y-axis in log scale and make the y-axis title "Number of Reviews". (c). Put the titles of both axises in bold font. (d). Use font size 5 in the texts (the labels of ticks) of both axises. (e). Use scale_color_gradient to change the title of the legend for color to "Availabble Days" and set the color of the lowest value "Green" and and the color of the highest value "Red". (f). Use scale_size to change the title of the legend for size to "Minimum Nights". (g). Use theme(legend.title=element_text () ) and theme(legend.text=element_-ext () ) to change the font size of the titles and texts in all legends to 8

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago