Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

irir_visual

irir_visual


Description

This function allows you to create 3 sorts of visuals: line, bar and point charts.

Usage

irir_visual(
  country = "CAN",
  chart = "bar_1",
  title = TRUE,
  years = as.numeric(max(IRI_data$year))
)

Arguments

country

The Country ISO code

chart

Type of charts

title

Chart title, set by default to TRUE

years

Year, only works for bar chart and set by default to max year of IRI's data

Value

Chosen Graph

See Also

irir_country for the IRI's country code, irir_industry for the IRI's industries name, irir_indicator for the IRI's indicators, irir_company for the IRI's companies name and irir_data to collect the data.

Examples

irir_visual(country = "CAN", chart = "bar_1", title = TRUE, years = 2019)

iriR

Global Innovation Through Company Level Data

v0.2.2
MIT + file LICENSE
Authors
Thierry Warin [aut, cre] (<https://orcid.org/0000-0002-5921-3428>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.