<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>gapminder on Juan Pacheco</title>
    <link>https://juanpacheco.netlify.app/tags/gapminder/</link>
    <description>Recent content in gapminder on Juan Pacheco</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 08 May 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://juanpacheco.netlify.app/tags/gapminder/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ggplot2 Graphics</title>
      <link>https://juanpacheco.netlify.app/post/ggplot/</link>
      <pubDate>Sat, 08 May 2021 00:00:00 +0000</pubDate>
      
      <guid>https://juanpacheco.netlify.app/post/ggplot/</guid>
      <description>We gonna use dplyr, gapminder, RColorBrewer, ggplot2 libraries in this example.
Let’s load gapminder data frame and see colnames.
data(&amp;quot;gapminder&amp;quot;) colnames(gapminder) ## [1] &amp;quot;country&amp;quot; &amp;quot;continent&amp;quot; &amp;quot;year&amp;quot; &amp;quot;lifeExp&amp;quot; &amp;quot;pop&amp;quot; &amp;quot;gdpPercap&amp;quot; gapminder is a data frame with 9 variables and more than 10 thousand observations. In variables we have country names, continent, year, life expectancy, population and gross domestic product per capita.
gapminder %&amp;gt;% head() ## # A tibble: 6 x 6 ## country continent year lifeExp pop gdpPercap ## &amp;lt;fct&amp;gt; &amp;lt;fct&amp;gt; &amp;lt;int&amp;gt; &amp;lt;dbl&amp;gt; &amp;lt;int&amp;gt; &amp;lt;dbl&amp;gt; ## 1 Afghanistan Asia 1952 28.</description>
    </item>
    
  </channel>
</rss>
