Nguyễn Thị Lan
New member
What will be the output of the following R code snippet?
A. 4
B. 3
C. 2
D. 5
Code:
> f <- function(a, b) {
+ a^2
+ }
> f(2)
B. 3
C. 2
D. 5