Question

After running the code check a line by line from 1 to 13 in Console what...

After running the code check a line by line from 1 to 13 in Console what each line of the code does? ( Clearly explain what each line mean with examples ) ??

1-x<-rnorm(100, 3,2)

2-mean(x)

3-var(x)

4-y<- -2.5*x

5-mean(y)

6-var(y)

7-par(mfrow=c(1,2))

8-hist(y, xlab='', main='Histogram Y')

9-boxplot(y, ylab="Y Sample", main='Boxplot Y')

10-abline(h=mean(y), lty=2)

11-#qqnorm(y, pch = 19)

12-#qqline(y, col = "steelblue", lwd = 2)

13-par(mfrow=c(1,1))

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
QUESTION 1 What does the following code segment output? int red, blue; red = 7; blue...
QUESTION 1 What does the following code segment output? int red, blue; red = 7; blue = red + 2 * 5 red++; blue = blue + red; cout << blue; 4 points    QUESTION 2 Is the following statement true or false? The Boolean expression in the following if statement will be true for all values of x in the range from 10 to 20 (including the endpoints) and false for all other values: int x; if (x >=...
1) What are some indicators that there are assignable causes for variation in a process? I.Process...
1) What are some indicators that there are assignable causes for variation in a process? I.Process capability. II. Data patters outside of the control limits. III. Data patters within the control limits. IV. Points randomly falling above and below the control chart center line. a. II and III b. II, III, IV c. I, II, IV d. I, II, III, IV 2) The best quantitative tool to determine the cause for variation in a process is: a. ANOVA b. Correllation...
1. What is an ISP (Integrated Service Provider) for supply chains? (1 point) A. A consultant...
1. What is an ISP (Integrated Service Provider) for supply chains? (1 point) A. A consultant agency which integrates the supply chain for companies B. A 2 PL or a 3PL, but not a 4PL C. A company supplying transportation and warehousing services D. A logistics service company specialized in suppling VAS (value added services) 2. What characterizes a 4 PL? (1 point) A. They are non-asset based and provides integrated services primarily supplied by asset based providers, for example...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...