Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

R programming: ## Q2. Pie chart and its improvement. (10pts) # First, create a vector called pie_vec, it has 12 elements that are integers from

R programming:

## Q2. Pie chart and its improvement. (10pts) # First, create a vector called pie_vec, it has 12 elements that are integers from 1 to 12 (ascending), # then name each element with the corresponding month abbreviation, e.g., 1 as Jan. # Create a 2D pie chart of pie_vec, the portions being the values of vector elements. # Then do the same thing with a 3D pie chart, with pie3D() function from package plotrix. # Make sure your plots show the name/label for each portion. # Combine the two plots into one overall graph. (Hint: par() or layout() function)

# Explain the issue with pie charts; and the issue with 3D pie charts. # Propose another graph type to visualize the same data, show code and explain why it's a good choice.

# Note: change the graphic device setting back to one plot on one graph after the pie chart comparison.

## Your code here:

## Your answer here:

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

More Books

Students also viewed these Databases questions

Question

1. Identify three approaches to culture.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago

Question

4. Describe how cultural values influence communication.

Answered: 1 week ago