cat("in built function in numeric")
x<-4
print (abs(x))
print(sqrt(x))
y<-4.5
ceiling (y)
trunc(y)
round(y)
cos(x)
sin(y)
tan(x)
log(x)
log10(x)
exp(y)
cat("in built function in statistical probability")
X<-1:30
mean(X)
median (X)
min(X)
max(X)
range(X)
sd(X)
sum(X)
quantile(X)
diff(X,lag=3)
diff(X,lag=1.5)
scale(X)
a<-"Rushali Galande"
substr(a,3,6)
b<-c("xyze","abcd","xyefi")
pattern<-"^xy"
b
grep(pattern,b)
x<-"python is programming language"
sub("python","R",x)
paste(a,b,x)
strsplit(x," ")
tolower (x)
toupper(a)
To embed this program on your website, copy the following code and paste it into your website's HTML: