Skip to content

altanalytics/efutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

efutils

Dev Version

The goal of efutils is to provide Utility functions used by Exploring Finance.

Installation

This will not be submitted to CRAN. Install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("exploringfinance/efutils")

Example

This is a basic example which shows you how to solve a common problem:

library(efutils)
## basic example code

ef_conv_perc(.1234)
#> [1] "12.34%"

ef_date_diff('2020-01-01','2020-12-31',bus_only = TRUE)
#> Warning: 1 parsing failure.
#> row col expected actual
#>   1  -- a number     —*
#> Warning: 1 parsing failure.
#> row col expected actual
#>   1  -- a number      —
#> [1] 252

ef_if.na(NA,3)
#> [1] 3

About

Utility functions used by Exploring Finance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages