What does the R function median() compute?
A. Median of a numeric vector
B. Mean of a numeric vector
C. Standard deviation of a numeric vector
D. Sum of a numeric vector
Answer: Option A
A. Median of a numeric vector
B. Mean of a numeric vector
C. Standard deviation of a numeric vector
D. Sum of a numeric vector
Answer: Option A
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