chaoshengt / Useless_R_functions

Useless R Functions. That's it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Useful - Useless R functions - UUR

UUR is useful, yet useless set of custom R functions using {base} for your everyday R use. That's it :-) And nothing more.

Feature Summary

Cloning the repository

You can follow the steps below to clone the repository.

git clone https://github.com/tomaztk/Useless_R_functions.git

Quickstart

  1. Clone the repository
  2. Start using any of the functions e.g. IsItFriday13()
  3. Explore and enjoy!
# non-deterministic
IsItFriday13 <- function(){
  #da <- "2020-11-13"
  da <- Sys.Date()
  rn <- as.POSIXlt(da)$wday
  d <- as.POSIXlt(da)$mday 
  
  if (rn == 5 & d == 13){
      print("It is a Friday the 13th!")
  } else {
      print("Not a Friday 13th!")
    }
  }  

IsItFriday13()

Contributors and co-authors

Thanks to these wonderful community people making and helping this useless R functions better. Contributions of any kind is highly appreciated!

Riccardo Porreca
Riccardo Porreca

retooooo
retooooo

mrdwab
mrdwab

Contact

Feel free to get in touch for new useful-useless functions.

Gallery (from blog)

Vignettes

General examples

ToDo

  • Possibly change some functionalities to work properly on UNIX / WIN machines
    • x11() and CLI export
  • A vignette finished; write proper feature details!
  • Create useless R package.

About

Useless R Functions. That's it

License:MIT License


Languages

Language:R 90.7%Language:TSQL 6.8%Language:Python 2.5%