Tuesday 8 January 2013

Assignment 1 : 8 Jan,2012



Assignment 1 : 8 Jan,2012


Question 1):  Draw a Line

                     x<-c(1,2,3)
                     plot (x,,type="l")

Question 2): Draw a Histogram

                     x<-c(1,2,3)
                     plot(x,type="h")

Question 3) Plot both lines and points with graph and axes names

                    plot(zcoll,type="b",main="nse data",xlab="time",ylab="nifty")
Question 4): Scatter plot

                   plot(zcoll1,zcoll,main="NSE",xlab="High",ylab="Low")


Question 5): Get maximum from "Max" column and minimum from "Min" column

> mergedata<-c(z[,3],z[,4])
> range(mergedata)
[1] 4888.20 6020.75


No comments:

Post a Comment