Question: Which statement is correct regarding the function in R ? say.hello < - FUNCTION ( ) { print ( Hello World! ) } Question 8

Which statement is correct regarding the function in R?
say.hello <- FUNCTION()
{
print(Hello World!)
}
Question 8 options:
After executing the say.hello function, the user will see an error message on the computer screen, because the keyword function should be in lower case.
After executing the say.hello function, the user will see the message, Hello World!, on the computer screen.
After executing the say.hello function, the user will see an error message on the computer screen, because the print function was used incorrectly.
After executing the say.hello function, the user will see an error message on the computer screen, because say.hello is an invalid function name.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!