Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use R software, data is found in the image. ( Name is Ralph ) You can enter the percentages in a variable called x

Please use R software, data is found in the image. (Name is Ralph) You can enter the percentages in a variable called x (remember to include the zero results), and you can associate names with the categories with the names(x) command. Be careful to enter the names of the categories in the same order as you entered the percentages. Then you will issue the barplot command, where you will reference the variable x that contains the data and the names of the categories. In the same command, include a label for the y axis (ylab=) and a title for the bar chart that includes your name(s)(main=). When you issue the barplot command, the chart will appear in a new window (on a Mac it is called Quartz).Six Americas Super Short Survey
Group Data
You will use the percentages in the pie chart to create a bar chart displaying the same data.
Please see R Software Commands-MAT124 for the R code you will need to create a bar chart. You can
enter the percentages in a variable called x(remember to include the zero results), and you can
associate names with the categories with the names (x) command. Be careful to enter the names of the
categories in the same order as you entered the percentages. Then you will issue the barplot command,
where you will reference the variable x that contains the data and the names of the categories. In the
same command, include a label for the y axis (vlab=) and a title for the bar chart that includes your
name(s)(main=). When you issue the barplot command, the chart will appear in a new window (on a
Mac it Oalled "Quartz").
image text in transcribed

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

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions

Question

How to reverse a Armstrong number by using double linked list ?

Answered: 1 week ago