MATH 6820 Week 4: Two Scales

The website http://data.worldbank.org/indicator/SP.POP.TOTL?cid=GPD_1 gives the population of many countries for many years.

I collect population data for Honduras from 2002 to 2011,and graph the log (base 2) of the population against year.  Construct two scales for your graph where the left vertical scale shows the log (base 2) population and the right vertical scale shows the population.

From the graph, we can see that the population in Honduras is keeping growth for the past ten years, from 2002 to 2011. The the unit of measurement on the right vertical scale is in million and the left log population (base 2) is also in million measurement unit. However, it does not look like exponential.

Interesting part in this graph making:

1.The R help gives us par(mar=par()$mar+c(0,0,0,3)), is that equivalent to par(mar=c(5.1,4.1,4.1,5.1))? Why we will use the “+” in this commend?

2. To limited the decimal, I use the command “format(round(2^seq(2.7,3.0,0.05), 2), nsmall = 2)”

 

3. what is the best way to add tick mark label on every tick mark? I used the following code:

d <- seq(2.70,3.0,by=0.05)
plot(Year, log2(Popu), pch=19,ylab="log2(Millions)",yaxt = 'n')
axis (2, at= d)

159 thoughts on “MATH 6820 Week 4: Two Scales

  1.    แทงบอลออนไลน์ Says:

    Keep this going please, great job!

  2.    jmin Says:

    Thanks! I will keep doing good:)

  3.    how do i get Metyke Says:

    I’ve been browsing online more than 3 hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. Personally, if all webmasters and bloggers made good content as you did, the net will be much more useful than ever before.

  4.    Girl Fashion Games Says:

    May I simply say what a relief to uncover someone who truly knows what
    they’re discussing online. You definitely realize how to bring an issue to light and make it important. More people ought to read this and understand this side of your story. It’s surprising you’re not more popular given that you surely have the gift.

  5.    www.monstermmorpg.com/Pokemon-Chronicles Says:

    Woah! I’m really enjoying the template/theme of this site. It’s simple,
    yet effective. A lot of times it’s challenging to get that “perfect balance” between superb usability and appearance. I must say you have done a very good job with this. In addition, the blog loads very quick for me on Firefox. Excellent Blog!

  6.    jmin Says:

    Thank you! I will continue contribute my effort on this blog! Keep updating

  7.    jmin Says:

    Thank you! I am trying my best.

  8.    jmin Says:

    Thanks!

  9.    how do i get fake pokemon Scrikey Says:

    After looking over a handful of the articles on your website, I honestly like
    your way of blogging. I book-marked it to my bookmark site list
    and will be checking back soon. Take a look at my web site as well
    and let me know your opinion.

  10.    null Says:

    Admiring the time and effort you put into your site and detailed information
    you present. It’s awesome to come across a blog every once in a while that isn’t the
    same unwanted rehashed material. Fantastic read! I’ve bookmarked your site and I’m adding
    your RSS feeds to my Google account.

  11.    jmin Says:

    Thank you! I will keep working on this blog.

Leave a Reply

Your email address will not be published. Required fields are marked *