[SOLVED] UCS548 Assignment 7

30.00 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

5/5 - (3 votes)

Assignment 7

c. To create a function called st.err()=sd(x)/sqrt(length(x)) to find the standard error in SUB1, SUB2, and SUB3.
3. Create a vector TOTAL_SUM that hold the value of V1, V2, and V3 using sapply().
6. Create a function f(x,y)=x/y where x is V1 and y is V2. Use mapply() to compute this function.
7. Practice all apply functions on “Seatbelts” data set given in R.

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.