Vector Data Type in R Programming
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6T0RBDNboLdlNoAFMjlV9A_Okw2aM4V5R_5u_H6w2RGipvrOTpMK9h6CBfdh9dh_m3wLCvi-L_amRt5bsIop4B92WOt7mDmdRET8IhAByw4ySRWCfRI0JG33WhZbMZF_mtFBRluRbaBY/s320/12.png)
Data Type: Graphical Representation of Data Types in R is shown as below: VECTOR Vector Data Type is the Simplest Form of all other data types. Vector is Single Dimensional. It has 6 atomic data types. Graphical View on Vector Data Type is as below Vector is classified as below based on the number of the element it can store. NOTE: Pink font Color indicates "Code". Blue font Color indicates "Output from R Console". Light Green Font Color indicates "Comment" SINGLE ELEMENT VECTOR #A.Logical v1 <- TRUE print(v1) [1] TRUE print(class(v1)) [1] "logical" #B.Numeric v2<-45 print(v2) [1] 45 print(class(v2)) [1] "numeric" #C.Integer Integer in R is recognized with suffix L. v3<-67L print(v3) [1] 67 print(class(v3)) [1] "integer" #D.Complex v4<-2+3i print(v4) [1] 2+3i print(cl...