Question
Which R operator is used for assignment in the expression x <- 10?
Select an option. Your answer will be checked instantly.
Correct Answer: C. <-
Explanation:
The assignment operator stores the value on the right in the name on the left.
Although = can work in some contexts, <- is the conventional R operator.
Leave a Reply