Useless R Functions. That's it
UUR
is useful, yet useless set of custom R functions using {base}
for
your everyday R use. That's it :-) And nothing more.
You can follow the steps below to clone the repository.
git clone https://github.com/tomaztk/Useless_R_functions.git
IsItFriday13()
# 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()
Thanks to these wonderful community people making and helping this useless R functions better. Contributions of any kind is highly appreciated!
Riccardo Porreca |
retooooo |
mrdwab |
TFellet |
rachelostic |
Feel free to get in touch for new useful-useless functions.
x11()
and CLI export