Question: Consider a data frame named a with 4 rows and 3 columns populated with positive integers and -1, where -1 denotes a missing value. Write
Consider a data frame named "a" with 4 rows and 3 columns populated with positive integers and -1, where -1 denotes a missing value. Write an R command that replaces each -1 with NA.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
