Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Consider the following data frame newdafr and answer the following. X6 X7 X8 X9 X10 55 50 69 38 NA 14 18 7 6

image text in transcribed
1. Consider the following data frame "newdafr" and answer the following. X6 X7 X8 X9 X10 55 50 69 38 NA 14 18 7 6 79 NA 20 NA NA 37 NA 76 NA 12 NA 13 6 NA 17 4 65 36 55 64 45 43 54 8 33 65 73 NA NA 13 NA 59 76 2 10 68 50 70 NA 75 (a) Write the output of following command - which(is.na(newdaft)) (2M) (b) What is the output of the function !complete cases(newdafu) (2M) (c) Write command to fill the missing values in the column "x9" with the median of remaining values. (d) Write a command to replace the missing values in 10th row with 55 (2M) (e) Use functions to display the rows with missing values (2M)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Equation Of Knowledge From Bayes Rule To A Unified Philosophy Of Science

Authors: Lê Nguyên Hoang

1st Edition

1000063275, 9781000063271

More Books

Students also viewed these Mathematics questions