algorithms
algorithms
Aim
Procedure
Procedure
Aim
To Write a R program to find list of even numbers from 1 to n using
R- Loops.
Procedure
if(i%%2==0)
Aim
To Create a function to print squares of numbers in sequence using
R Program
Procedure
ps<-function(n)
Aim
df3<-rbind(df1,df2)
Step 4: Combine Data Frames by Columns
df3<-cbind(df1,df2)
Step 5: print the Data frame df3
Aim
Procedure
x<-"welcome to svmc”
count<-nchar(x)
up<-toupper(x)
spl<-strsplit(x," " )
Aim
Procedure
z= X+Y
Step 4: Print the Resulting Vector
Aim
To Write a program to read a csv file and analyze the data in the file
in R.
Procedure
str(data)
summary(data)
Step 4: Calculate the mean and Median
Step 5: Stop the Program
Aim
Procedure
Aim
Procedure
str(iris)
dim(iris)
summary(iris)
mean(iris$Sepal.Width)
median(iris$Sepal.Width)
sd(iris$Sepal.Width)
boxplot(iris)
plot(iris)
Aim
Procedure
result<-factrec(number)
Step 5: Print the result
Step 6: Stop the program
Aim
Procedure
array<-c(97,8,9,10,1,5,23,24)
Step 3: Identify Even Numbers
even<-sum(array%%2==0)
Step 4: Identify Odd Numbers
odd<-sum(array%%2==1)
Step 5: Print the results