Learn R Programming

metools (version 1.0.0)

Macroeconomics Tools

Description

Provides a number of functions to facilitate the handling and production of reports using time series data. The package was developed to be understandable for beginners, so some functions aim to transform processes that would be complex into functions with a few lines. The main advantage of using the 'metools' package is the ease of producing reports and working with time series using a few lines of code, so the code is clean and easy to understand/maintain. Learn more about the 'metools' at .

Copy Link

Version

Install

install.packages('metools')

Monthly Downloads

131

Version

1.0.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Jo<c3><a3>o Victor Gomes de Araujo Santana

Last Published

June 26th, 2020

Functions in metools (1.0.0)

col2factor

Transform defined columns to factor.
cuminyear

Accumulated variation in year
colround

Round defined columns
col2percent

Add percent in column
col2char

Transform defined columns to character.
colpct2num

Remove percent from a column, and transform in number
col2num

Transform defined columns to numeric.
cuminyear_var

Accumulated variation in year
cum_var

Accumulated variation
gm.col

Bar Graphic Model
gm.col_ord

Ordered Bar Graphic Model
p.gradientcolor

Create Gradient
mp.ts

Multi serie plot in time serie format
gm.tscol2

Time serie bar Graphic Model
p.colorbyvar

Color by variation
gm.tscol

Time serie bar Graphic Model
mp.s

Multi serie plot
metools

Macroeconomics Tools
me.spread

Spread an dataframe.
metools.help

Metools Help
gm.tsl

Time serie line Graphic Model
p.tscol

Bar plot in time serie format
gm.col_wl

Bar Graphic with Legend Model
month2num

Transform month names to month numbers
me.lag

Lag a data
p.col

Bar plot
num2month

Transform month numbers to month names
p.col_ord

Ordered bar plot
p.col_ord_wl

Ordered bar plot with legend
gm.line

Line Graphic Model
p.tsl

Line plot in time serie format
p.col_wl

Bar plot with legend
p.line

Line plot
gm.col_ord_wl

Ordered Bar Graphic with Legend Model
p.seqdatebreaks

Create Date Interval
pct_change

Percentual change
p.colorbypositive

Color by positive or negative
stattable

Descritive statistic table