Write an r function that can be used to produce graph

Assignment Help Programming Languages
Reference no: EM13290210

1. The graph on the right below is reproduced from a book on statistical graphics written by a group of Swedish Government statisticians.

1267_Write an R function.png

Write an R function that can be used to produce this kind of graph. (The function needs to be general purpose, but you can show that it works on this particular data set.)

It is important that you make the function exible by providing optional arguments that control how the function behaves. Labelling and colour are obvious optional arguments. (Don't try to provide every kind of capability. Concentrate on implementing a few options well.)

One of the most important parts of this assignment is the presentation of the code. Be sure that you read what is expected on the class website.

Hints

(a) The data for the example is on the class website (look under the Assignments link).

(b) The graph can be produced using basic R graphics, but a version done using layout provides more control.

(c) You may nd that the order function is useful when reordering the data.


Attachment:- assn2.txt

Reference no: EM13290210

Questions Cloud

How much can the developer pay for the tract of land : Based on current absorption rates, one-fifth will be sold each year. How much can the developer pay for the tract of land?
Compute the charge per unit area on the plastic sheet : A 17.0-g piece of Styrofoam carries a net charge of -0.75 µC and is suspended in equilibrium above the center of a large, compute the charge per unit area on the plastic sheet
Explain and complete ionic equations and net ionic equations : Write balanced molecular equations, complete ionic equations, and net ionic equations for the following reactions. Write "NR" if there is no reaction. All reactants are aqueous solutions.
Determine the power factor of the load and the line current : Using 2 wattmeters as a method of power measurement,wattmeter #1 reads 400W and wattmeter #2 reads 300W. The load isknown to be inductive and fed from a 208/120V grounded-wye 3-phase4-wire system. Determine the power factor of the load and the lin..
Write an r function that can be used to produce graph : Write an R function that can be used to produce this kind of graph - It is important that you make the function exible by providing optional arguments that control how the function behaves.
What is the effective annual cost of credit : Shortly after signing the agreement Stuart needed 240000 to pay off a note that was due. It borrowed the 240000 from the bank by drawing a line of credit. What is the effective annual cost of credit?
Determine power factor of total load connected to the bus : A single phase 4,800
Describe oxidation-reduction reactions : Identify which of the following are oxidation-reduction reactions, and if they are, identify the oxidizing agent, the reducing agent, the substance being oxidized, and the substance being reduced.
What will be the projected balance in retained earnings : If sales are expected to increase by 25% next year, what will be the projected balance in retained earnings using the percent of sales method?

Reviews

Write a Review

Programming Languages Questions & Answers

  Write program using ias instruction set

Form the array C such that C(I)=A(I)+B(I) for I=1,2,...,1000. using IAS instruction set, write down program for this problem with assembly.

  Write program which permits the user to enter students name

Write the program which permits the user to enter students' names followed by their test scores and outputs following information (suppose that maximum number of students in class is 50)

  Create user friendly application-display name-button clicked

Create a user friendly application which can do the following: displays the name and address when button is clicked and permit user to choose a state, and when a user clicks a button.

  Write code for member method expand

Write code for the member method expand. To keep the code simple, you may assume that the array element has enough capacity and does not need to be resized.

  Create application which gets customer account data

Some interest Credit Company gives loans to customers at 1.5 percent interest per month. Create the application which gets customer account data which includes the account number, customer name, and balance due.

  Write code to find largest value found in parking tickets

Without using any additional variables, write some code that results in mostTickets containing the largest value found in parkingTickets.

  Step by step procedure to solve to create record note book

Create Record note book; The Record note book should be in the follwoing order. Procedure: Write down step by step procedure to solve problem.

  Write program that asks user for two digit number

Write program which asks user for two digit number and then prints English word for that number. Sample run: Enter a two-digit number: 45

  Create and write payroll program to prompt user for input

Create and write a payroll program that will prompt the user to enter employee's hourly pay rate and the number of hours worked.

  Program to create three identical list

Write a program to create three identical list, list1, list2, and list3, of 5000 elements. The program then sorts list1using quick sort, list 2 using insertion sort.

  Develop two packages to accept information

Develop two packages, package1 comprises two classes manager and clerk.both classes having method to accept corresponding information.packages.

  Explain the problem of storing data in matrix

Each such element is accompanied by its two indexes (the row and the column). Explain in what ways such structure is similar to and/or different than list.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd