Question
Create a data frame named RData consisting of the following data:
Write R commands to:
(i) Compute the group wise means of x, y and z according to the groups defined by w column using apply family function.
(ii) Sort RData according the y column of it.
Answer :
Word Count : 121
______ __________ ____ _________ _________ _____.
_____ ______ ___ ____ ______ _____ ___ _________ _____ __________ _____ _______.
_______ _______ _________ _______ _____ _____ ___ __________ ______ ______.
_______ ___ _____ _________ ______ ______ __________ ______ ___ _________ ______ _________.
________ ________ ___ _____ ________ __________ _____.
_________ _____ _________ ____ ___ ______ ____ ___ ______.
_____ ____ _______ ________ _____ ________.
_______ ___ ______ _________ ___ __________ ______ ______ __________.
Skip in 10
### Step 1: Create the Data Frame ```R RData <- data.frame( x = c(0.04, 0.82, 0.32, 0.39, 0.31, 0.83, 0.73, 0.32, 0.60, 0.65, 0.55, 0.53, 0.91, 0.84), y = c(0.16, 0.87, 0.65, 0.83, 0.93, 0.31, 0.74, 0.39, 0.85, 0.28,
________ _____ ________ _______ _____ ____ __________ _________ __________ _________ ______.______ __________ ____ _________ _________ _____.
_____ ______ ___ ____ ______ _____ ___ _________ _____ __________ _____ _______.
_______ _______ _________ _______ _____ _____ ___ __________ ______ ______.
_______ ___ _____ _________ ______ ______ __________ ______ ___ _________ ______ _________.
________ ________ ___ _____ ________ __________ _____.
_________ _____ _________ ____ ___ ______ ____ ___ ______.
_____ ____ _______ ________ _____ ________.
_______ ___ ______ _________ ___ __________ ______ ______ __________.
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.