x <-2:20
y<-30 :40
ceiling (y)
floor(y)
round(y)
trunc(y)
cos(y)
sin(y)
tan(x)
log(x)
log10(x)
exp(x)
mean(x)
median (x)
sum(x)
sd(x)
min(x)
max(x)
quantile (x)
diff(x,lag =3)
diff(x,lag=1.5)
range(x)
scale (x)
summary (x)
summary (y)

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: