Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Make the following changes to the plot using R Thank you . (a). Include fill, color, and alpha in ggolot to fill the bars with

image text in transcribed

Make the following changes to the plot using R

image text in transcribed

Thank you

. (a). Include "fill", "color", and "alpha" in ggolot to fill the bars with "lightgreen", color their borders with "darkblue", and set the transparency to 0.8. (b). Use scale_x_continuous to show x-axis in log scale and change the labels of x-axis to dollar. (c). Use scale_y_continuous to change the breaks of y-axis to 0,100,200,300, 400,500 and 600. (d). Make the x-axis title "Price" and the y-axis title "Frequency". (e). Make the plot title "Prices of Listings in Airbnb", the x-axis title "Price", and the y-axis title "Frequency". (f). Use bold font in the plot title and place the title in the middle of the top (using "bjust=0.5"). (g). Remove all x gridlines (the vertical lines), both major and minor grids Jse the default value for any attribute of the plot not specified above. When you finish, store the plot as variable p2 (instead of p) and save it as a 6 in by 4 in png file (dot per inch=600) called "p2.png". You can compare you . (a). Include "fill", "color", and "alpha" in ggolot to fill the bars with "lightgreen", color their borders with "darkblue", and set the transparency to 0.8. (b). Use scale_x_continuous to show x-axis in log scale and change the labels of x-axis to dollar. (c). Use scale_y_continuous to change the breaks of y-axis to 0,100,200,300, 400,500 and 600. (d). Make the x-axis title "Price" and the y-axis title "Frequency". (e). Make the plot title "Prices of Listings in Airbnb", the x-axis title "Price", and the y-axis title "Frequency". (f). Use bold font in the plot title and place the title in the middle of the top (using "bjust=0.5"). (g). Remove all x gridlines (the vertical lines), both major and minor grids Jse the default value for any attribute of the plot not specified above. When you finish, store the plot as variable p2 (instead of p) and save it as a 6 in by 4 in png file (dot per inch=600) called "p2.png". You can compare you

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

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

Write the electron configuration of (a) Aluminum and (b) Chromium.

Answered: 1 week ago