Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The programming language is R, and we are using R studio for it. As Mobile Wiri Eb operating system concepts COM 317-R Programmi X v
The programming language is R, and we are using R studio for it.
As Mobile Wiri Eb operating system concepts COM 317-R Programmi X v SAISI IAG20USMAN/Desklop COM337%207 CON-1337 R 520Proyl Problem #2 2. Solve the problem: 1. Case Study 1. The listing of R-script in Question1.R (shown below) setwd ("E:VCOM 337 R ng 201701 Exams rter Question Numbers c (11,2,2343, 144,65, 26, 17, 8,29,10 R-Script Listing 1 End of Case Study 1 he problem: 1. Read the script in Case Study 1 of the providedCase Study Handout. This question refers to the R-script listed in Case Study 1 (as R-Script Listing 1). This script is same named Question R as contained in the ExamStarter KitMQuestion#1 folder. Initialize a variable named countOfNumbers 0. Write the R-cod to find the sum of all the numbers in the vector: Numbers e using the following rule: If the number is even and it evenly divides the 3rd number from it then add the integer division (i.e. a%%b instead of a/b) of the 3 number to sumofNumbers unless there is no 3 number in which case add the number to sumOfNumbers. http:LMwww.bazeuniversity edung: COM337 R-Programming Week 4(Part-Al: E U.Kvi Page 14 07/05/20 t20 As Mobile Wiri Eb operating system concepts COM 317-R Programmi X v SAISI IAG20USMAN/Desklop COM337%207 CON-1337 R 520Proyl Problem #2 2. Solve the problem: 1. Case Study 1. The listing of R-script in Question1.R (shown below) setwd ("E:VCOM 337 R ng 201701 Exams rter Question Numbers c (11,2,2343, 144,65, 26, 17, 8,29,10 R-Script Listing 1 End of Case Study 1 he problem: 1. Read the script in Case Study 1 of the providedCase Study Handout. This question refers to the R-script listed in Case Study 1 (as R-Script Listing 1). This script is same named Question R as contained in the ExamStarter KitMQuestion#1 folder. Initialize a variable named countOfNumbers 0. Write the R-cod to find the sum of all the numbers in the vector: Numbers e using the following rule: If the number is even and it evenly divides the 3rd number from it then add the integer division (i.e. a%%b instead of a/b) of the 3 number to sumofNumbers unless there is no 3 number in which case add the number to sumOfNumbers. http:LMwww.bazeuniversity edung: COM337 R-Programming Week 4(Part-Al: E U.Kvi Page 14 07/05/20 t20Step 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