Question: Beginner programming with R Question 3: Let var1=FALSE, var2=pi, and var3=-2. Write a R program to find: 1. a3 = log10(var2)+var28 erp(var3) 2. b3 =

Beginner programming with R

Beginner programming with R Question 3: Let var1=FALSE, var2=pi, and var3=-2. Write

Question 3: Let var1=FALSE, var2=pi, and var3=-2. Write a R program to find: 1. a3 = log10(var2)+var28 erp(var3) 2. b3 = (var1 + var2 + var3)1/3 Question 4: The following vector summarizes the NBA Lengend Kobe Bryant's average points per game (PPG) throughout his career. kb = c(7.6, 15.4, 19.9, 22.5, 28.5, 25.2, 30.0, 24.0, 27.6, 35.4, 31.6, 28.3, 26.8, 27.0, 25.3, 27.9, 27.3, 13.8, 22.3, 17.6) Write a R program to count how many times Kobe had PPG above 25. Assign the result to a variable a4. Question 5: Write a R program to produce the following matrix and then compute its rowsum, colsum, and sum of all elements. m1 ## row1 ## row2 ## row3 ## row4 ## row5 coll col2 col3 col4 1 6 11 16 2 7 12 17 3 8 13 18 4 9 14 19 5 10 15

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!