print("Hello World")
x+2
print(x+2)
x+2
(5^2+5)/3
sum(log(32,2), 8^4, 4+5, 12/3)
sum(50, 3, 5)
log10(90+5*2)
variable2
variable2 + 2
mean(variable2)
variable2 <- c(12, 1, 15, 3, 20, 6, 11)
variable2
mean(variable2)
variable2 + 2
variable2 <- c(12, 1, 15, 3, 20, 6, 11)
variable2
mean(variable2)
variable2 + 2
x = c(1, 3, 5, 7, 9)
y = c(2, 3, 5, 7, 11, 13)
z = c(9, 3, 2, 5, 9, 2, 3, 9, 1)
x + 2
y * 3
length(x)
x + y
sum(x > 5)
sum(x[x > 5])
sum(x > 5 | x < 3)
y[3]
y[-3]
y[x]
(y > 7)
y[y > 7]
sort(z)
sort(z, dec = TRUE)
rev(z)
order(z)
unique(z)
duplicated(z)
table(z)
rep(z, 3)
vector1 <- c(1, 2, 3)
vector2 <- c(4, 5, 6)
vector3 <- c(vector1[1:2], vector2, vector1[3:length(vector1)])
