Question: Create a function that takes a single variable ( a 3 x 3 matrix or dataframe ) andreturns a vector equal to the sum of

Create a function that takes a single variable (a 3x3 matrix or dataframe) andreturns a vector equal to the sum of the rows of the input matrix or dataframe.Call it myFunction, which you can test on the Dataset SampleData.csv whichis saved in the variable sampleData1.

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!