Tuesday, 8 January 2013

                                    R LAB

DAY 1 ASSIGNMENT

Assignment 0
Plot a line graph
plot(z,type="l")


Assignment 1
Plot a histogram dimensional with X and Y axis named
zcol1<-z[,3]
plot(zcol1,type="h")


Assignment 2
Plot a graph with points and lines along graph name and both the axis mentioned on the graph
zcol1<-z[,3]
plot(zcol1,type="b",main="msegraph",xlab="time",ylab="dollar")
Assignment 3
Plot a scatter graph with mentioning X and Y axis along with name mentioned in the graph
plot(zcol1,main="nsegraph",xlab="time",ylab="dollar")

Assignment 4
plot a graph showing the volatility of indices
zcol1<-z[,3]
zcol2<-z[,4]
 mergeddata<- c(zcol1,zcol2)
plot(mergeddata)





No comments:

Post a Comment