Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 15Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started