Question
The following data relates to the number of items produced per shift by two workers for a number of days.
| Worker A | 19 | 22 | 24 | 27 | 24 | 18 |
| Worker B | 26 | 37 | 40 | 35 | NA | NA |
(a) Write R command to create a list named LT with worker's data. Also, after creating the list, do the following tasks:
(i) Use a suitable loop function to compute the mean of number of items produced by each worker in a single line command.
(ii) Extract the worker A data from it by using two different approaches.
Answer :
Word Count : 57
_________ _______ _______ _____ _______ _____ ________ _________ ____ ____ _______ _______.
_____ _______ _______ ____ _________.
_______ ________ ____ _____ _____ ________ ______.
__________ _________ _________ _________ __________.
___ ______ _____.
Skip in 10
LT <- list(WorkerA = c(19, 22, 24, 27, 24, 18), WorkerB = c(26, 37, 40, 35, NA, NA)) #
___ ____ _____ ______ _______ ______._________ _______ _______ _____ _______ _____ ________ _________ ____ ____ _______ _______.
_____ _______ _______ ____ _________.
_______ ________ ____ _____ _____ ________ ______.
__________ _________ _________ _________ __________.
___ ______ _____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.