Sail E0 Webinar
Question
Which of the following truncates real x to integers ?
Options:
A .  as.numeric(x)
B .  as.integer(x)
C .  as.order(x)
D .  All of the mentioned
Answer: Option B


Compare to round(x,0) in R.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers