LinaQiu/GapminderPackage: Make it easier to see whether there is any linear relationship between pop/lifeExp/gdpPercap and year for countries in gapminder dataset

While we take a look into population and time in dataset gapminder, we would want to find is there any linear relationship them. The existing function lm() can help us fit a linear model between them, but it only returns coefficients of the fitted linear model. However sometimes, we not only want to see the coefficients of the fitted linear model, but also want to check the residuals and how well the data fit the linear model. Thus, this package is created to help you find the linear relationship between population and time for different countries in gapminder and get a intuitive view on how well country's population and time fit the linear model by creating a table and plot for the fitted linear model.

Getting started

Package details

LicenseMIT + file LICENSE
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
LinaQiu/GapminderPackage documentation built on May 8, 2019, 11:52 p.m.