Question: Run the following code in the R console:n < - 1 0 0 0 x < - seq ( 1 , n ) sum (
Run the following code in the R console:n x seqnsumxBased on the result, what do you think the functions seq and sum do You can use the help system.Instructions XPPossible answerssum creates a list of numbers and seq adds them upseq creates a list of numbers and sum adds them upseq computes the difference between two arguments and sum computes the sum of through sum always returns the same number
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
