README.md

lifeexpgambia

lifeexpgambia is a package that shows the relationship between Life expectancy and Gdp per capita through graphs and a regression analysis. The data,which I called sampledata, was downloaded from the FRED(fedral bank of st luis) website through Emanuele Guidotti's website. The data is a time series data of the Gambia from 1966 to 2017.

Installation

# First install R package "devtools" if not installed
devtools::install_github('unimi-dse/d89bee8f')

Usage

import lifeexpgambia

plotly::plotlyOutput("plot1") # returns 'plot1' plotly::plotlyOutput("plot2") # returns 'plot2' plotly::plotlyOutput("plot3") # returns 'plot3' textOutput("reg") # returns 'regression'

```



unimi-dse/d89bee8f documentation built on Feb. 14, 2020, 12:39 a.m.