Which of the following is a correct variable name in R?
A. 123_variable
B. variable_name_123
C. my-variable
D. 1st_variable
Answer: Option B
A. 123_variable
B. variable_name_123
C. my-variable
D. 1st_variable
Answer: Option B
What is the primary purpose of R programming language?
A. Web Development
B. Data Analysis
C. Game Development
D. Mobile App Development
In R, what does the function length() do?
A. Returns the sum of elements
B. Returns the number of elements
C. Sorts the elements
D. Computes the mean
What does the function install.packages() do in R?
A. Load a package
B. Uninstall a package
C. Install a new package
D. Update all packages
Join The Discussion