Question: Create a new script file Save your script file in the / workspace directory and name it EXACTLY as shown below: Challenge 2 5 .

Create a new script file
Save your script file in the /workspace directory and name it EXACTLY as shown below:
Challenge25.R
Be sure to save your challenge to the file you just created when you are finished editing.
Using an Rscript window, perform the following actions:
Create a vector using the values 15,22,27,45,62,5 and store it in a variable called lottery_nums.
Include a header row with the labels Num1, Num2, Num3, Num4, Num5, PowerBall.
Then print the contents of lottery_nums.

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!