Question: By using the is.na function to substitute the missing observations of a vector, you may select a numeric vector of your choice with missing values,
By using the is.na function to substitute the missing observations of a vector, you may select a numeric vector of your choice with missing values, with 0. Attempt to replace the missing values of a vector with the mean of the vector having valid elements.
Step by Step Solution
★★★★★
3.49 Rating (169 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
For example if you have a dataset that contains the observations Y 3152 Noting ... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
