Pages

Tuesday, 8 January 2013

Business Application Lab Assgn - 1

Assignment 0 - Initialize a vector and plot histogram

 Command Sequence > x<-c> plot(x, type = “h”)

Assignment 1 - A  Plot histogram for 1 column of data from BSE index



Command Sequence 

z<-read.csv(file.choose(),header=T)
zcoll<-z[,3]  
plot(zcol1,type="h")


 
Assignment -2    Plot NSE data with line-point form

Command Sequence 

plot(zcol1,type="b",main="NSE graph",xlab="Time",ylab="Nifty")

Assignment - 3  Plot Scatter diagram for NSE data


Command Sequence 
> zcol1<-z[,3]
 > zcol4<-z[,4]
 > plot(zcol1,zcol1)
Assignment - 4  Find volatility of NSE data


Command Sequence

> mergeddata<-c (zcol1,zcol4)
> mergeddata
>summary(mergeddata)
>range(mergeddata)







No comments:

Post a Comment