A biologist wants to make a coplot of LENGTH Vs WEIGHT given RIVER*SPECIES for fish caught...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A biologist wants to make a coplot of LENGTH Vs WEIGHT given RIVER*SPECIES for fish caught in the Tennessee river and recorded in the DDT.csv data set, so that each point is colored according to the variable MILE which is treated as a factor (Qualitative variable). > head (ddt) RIVER MILE SPECIES LENGTH WEIGHT DDT 5 CCATFISH 732 10 42.5 44.0 5 CCATFISH 5 CCATFISH 41.5 795 16 547 23 465 21 5 CCATFISH 39.0 5 CCATFISH 50.5 1252 50 5 CCATFISH 52.0 1255 150 1 FCM 2 FCM 3 FCM 4 FCM 5 FCM 6 FCM # The following code may help m=with (ddt, as.numeric (factor (MILE))) # A length (unique (m)) #B (a) Make the coplot as the biologist required Hint: Use coplot (), Lab 1, the code provided, and plotting options pch and col to differentiate the MILE variable. You should be able to produce something like what is shown below (b) Interpret the lower left three conditional plots. (c) What does line A do? (d) What does line B do? Why are the top six plots empty? (f) What is the mean value of DDT found in the sample of CCATFISH caught in the FCM river? Hint: ddt=read.csv ("..\\CSV\\DDT.csv") head (ddt) subset (ddt, RIVER=="FCM" & SPECIES=="CCATFISH",) #or ddt [ddt$RIVER=="FCM" & ddt $SPECIES=="CCATFISH",] WEIGHT 500 1500 500 1500 20 30 0 40 00. 00 Bo CCATFISH 50 00 08.00 20 LENGTH 30 0 40 LMBASS TT 50 Given SPECIES 20 TT 30 OF 40 SMBUFFALO 50 oks 0 500 1500 500 1500 FCM LCM SCM TRM Given: RIVER A biologist wants to make a coplot of LENGTH Vs WEIGHT given RIVER*SPECIES for fish caught in the Tennessee river and recorded in the DDT.csv data set, so that each point is colored according to the variable MILE which is treated as a factor (Qualitative variable). > head (ddt) RIVER MILE SPECIES LENGTH WEIGHT DDT 5 CCATFISH 732 10 42.5 44.0 5 CCATFISH 5 CCATFISH 41.5 795 16 547 23 465 21 5 CCATFISH 39.0 5 CCATFISH 50.5 1252 50 5 CCATFISH 52.0 1255 150 1 FCM 2 FCM 3 FCM 4 FCM 5 FCM 6 FCM # The following code may help m=with (ddt, as.numeric (factor (MILE))) # A length (unique (m)) #B (a) Make the coplot as the biologist required Hint: Use coplot (), Lab 1, the code provided, and plotting options pch and col to differentiate the MILE variable. You should be able to produce something like what is shown below (b) Interpret the lower left three conditional plots. (c) What does line A do? (d) What does line B do? Why are the top six plots empty? (f) What is the mean value of DDT found in the sample of CCATFISH caught in the FCM river? Hint: ddt=read.csv ("..\\CSV\\DDT.csv") head (ddt) subset (ddt, RIVER=="FCM" & SPECIES=="CCATFISH",) #or ddt [ddt$RIVER=="FCM" & ddt $SPECIES=="CCATFISH",] WEIGHT 500 1500 500 1500 20 30 0 40 00. 00 Bo CCATFISH 50 00 08.00 20 LENGTH 30 0 40 LMBASS TT 50 Given SPECIES 20 TT 30 OF 40 SMBUFFALO 50 oks 0 500 1500 500 1500 FCM LCM SCM TRM Given: RIVER
Expert Answer:
Answer rating: 100% (QA)
a What are the categorical variables The variables ... View the full answer
Related Book For
Posted Date:
Students also viewed these mathematics questions
-
In addition to the key words, you should be able to define each of the following terms: Literature search: Subject words: Database: Abstract: PsycINFO: PsycARTICLES: Title: Introduction: Method...
-
A biologist wants to know the width w of a river to properly set instruments for an experiment. From point A, the biologist walks downstream 100 feet and sights to point C (see figure). From this...
-
On completing this chapter, you should be able to correctly answer the following questions. a. True or false: It is possible, in fact it often is the case, that your slope b, will be a positive value...
-
Why are all three levels of Transfer Meaning Making Acquisition important? What would happen if we left one out of our unit design?
-
A small Canadian firm that has developed some valuable new medical products using its unique biotechnology know-how is trying to decide how best to serve the European Community market. Its choices...
-
How soon following an event that reduces the taxpayer 's withholding allowances must the taxpayer submit a new W-4 Form to his or her employer?
-
What elements must be proven in order to be successful in a negligence suit? Illustrate your answer with a case (the facts of the case can be hypothetical).
-
Use Newtons method to find the coordinates of the inflection point of the curve y = e cos x, 0, < x < correct to six decimal places.
-
What are the total plant assets? The following accounts were taken from the Adjusted Trial Balance columns of the work sheet: Land Service Revenue Rent Expense Insurance Expense Prepaid Insurance...
-
Read all steps in the audit program for cash found on Work Paper 16-1 and familiarize yourself with work papers 16-1 through 16-7. Complete steps 2, 3, 5, 9, 10, and 12. Be sure to document your work...
-
You are an 11th grade math teacher. You are tasked with meeting with a group of local business owners to ask them to partner with you in developing a curriculum that focuses on the math skills...
-
When you identify a hazard at FDC, childcare, SAEC or school, what procedure is to be followed? Please briefly write 1 brief point for each step of the procedure provided below. Identify the hazard...
-
Do patients at HCCI have the same expectations as far as care and personal touch go as their patients in India? What does it mean from a task-shifting standpoint?
-
Best Buy's Geek Squad tech support and installation services are additional customer service features valued by many customers. How would you characterize Best Buy's competitive strategy? Should it...
-
What is the main operating model of Zara? What is Zara's strategy to respond to mid-season color changes? When and were was the first Zara's store opened?
-
Type of Donut Number purchased Probability Cumulative Probability Chocolate Cream filled 2.00 Strawberry 3.00 Kale frosted 3.00 Blueberry 2.00 Cream filled surprise 8.00 18.00 Based on the above...
-
Hugh George is a 40% partner in the Hammond & George Partnership. During 2022, the partnership reported the total items below (100%) on its Form 1065: View the items on the Form 1065. View more...
-
Define deferred revenue. Why is it a liability?
-
Find the angle (in degrees) between the vectors. 1. u = 2 2, -4, v = - 2, 1 2. u = 3, 3, v = 4, 3 3 3. u = cos 7 / 4i + sin 7 / 4j, v = cos 5 / 6i + sin 5 / 6j 4. u = cos 450i + sin 450j, v = 3000i...
-
Find (a) u + v, (b) u -v, (c) 4u, and (d) 3v + 5u. Then sketch each resultant vector. 1. u = -1 ,-3, v = -3 , 6 2. u = 4 , 5, v = 0 , - 1
-
1. A gun with a muzzle velocity of 1200feet per second is fired at an angle of 6 above the horizontal. Find the vertical and horizontal components of the velocity. 2. Pitcher Aroldis Chapman threw a...
-
Calculate the volatility and the current price of oil futures implied by the call 1600 August and the call 1700 August of Figure 19.8 by using the Black-Scholes formula with \(T=.25\). OIL CRUDE OIL...
-
A company issues a \(10 \%\) coupon bond that matures in 5 years. However, this company is in trouble, and it is estimated that each year there is a probability of .1 that it will default that year....
-
Consider a continuous-time environment, with \(e\) as a variable outside of the market. (a) Suppose the final payoff is \(V\left(x_{e}, T ight)=x_{e}(T)\). Find \(V\left(x_{e}, t ight)\). (b) Find a...
Study smarter with the SolutionInn App