Explanation:A NaN value is also NA but the converse is not true. 3. Data frames can be converted to a matrix by calling data._______
A. matr()
B. mat()
C. matrix()
D. All of the mentioned
Answer:A
Explanation:A NaN value is also NA but the converse is not true. 3. Data frames can be converted to a matrix by calling data._______
A. matr() B. mat() C. matrix() D. All of the mentioned
Explanation:as.matrix() function should be used to coerce a data frame to a matrix. 4. What would the following code print ?