Tuesday, 8 January 2013

Business Applications Lab - Assignment 1

Plot selected columns from a set of data in the form of a histogram

Command: > plot(zcol1,type="h")

Graph Obtained:





Question2:  Plot both the lines and points in the same graph

Command: > plot(zcol1,type="b")






Question3: To get the scatter plot for a set of data

Command: > plot(zcol2,type="p")


Question4: Merge vectors together

Command: > mergedata<-c(zcol1,zcol2)


> summary(mergedata)

To find the range of mergedata

> range(mergedata)


No comments:

Post a Comment