Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 ) What is the r code for checking missing values in a dataset? A ) is . na ( Bat ) - Bat =

1)What is the r code for checking missing values in a dataset?
A)is.na(Bat)- Bat==""
(B) colnames(Bat)[apply(is.na(Bat),2, any)]
(C) Bat[is.na(Bat)]=Mode(Bat)
(D) Bat[is.na(Bat)]=mean(Bat,na.rm=TRUE)
2)A statistician stored data in R and named it BreastCancer_dat. The columns of the data are age, weight, blood, glulevel, and education. What is the r code for selecting the weight column?
(A) Breast.Cancer_data$weight
(B) breastCancer_data$weight
(C) BreastCancer_dat$weight
(D) Breast.cancer$data$weight
3)There is a matrix named Flower in R with 3 rows and 4 columns. What is the r code for selecting only thethird column?
(A) Flower [,2]
(B) flower[3,]
(C)A[,3]
(D) Flower[,3]
image text in transcribed

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

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions

Question

4 What is the recruitment phase?

Answered: 1 week ago