Question: Correct the following code: a.Vector1
Correct the following code:
a.Vector1 <- (1,2,3,4)
b.if(x<10){print("x is less than 10")} else{print("x is more than 10")}
c. x <- c(1,2,3) if(x<=2){x}else{x+5}
d.sample(seq(1:5), size = 20)
e.y <- 3exp(3)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
