Skip to content

tomaztk/Useless_R_functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

TFellet
TFellet

rachelostic
rachelostic

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.
  • Add Documentation for each function.