West Pang
18 March 2017
For more details on authoring R presentations please visit https://support.rstudio.com/hc/en-us/articles/200486468.
The codes imported contains the year and population of Malaysia, sample of codes for first 8 years display below
data<- read.csv("mpop.csv")
data[1:8,]
Year Population
1 1947 4.9081
2 1948 4.9874
3 1949 5.0818
4 1950 5.2265
5 1951 5.3372
6 1952 5.5064
7 1953 5.7060
8 1954 5.8886
The plot below shows the Population of Malaysia from 1947 to 2015