Q. Which of the following is valid syntax for if else statement in R?
β
Correct Answer: (A)
if(<condition>) {
## do something
}
else {
## do something else
}
You must be Logged in to update hint/solution