Skip to content

Commit 733af25

Browse files
committed
updated structures, Readme
1 parent ae3fa66 commit 733af25

17 files changed

+612
-19
lines changed

.RData

3.19 KB
Binary file not shown.

.Rhistory

Lines changed: 512 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 100 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,69 @@
1-
# Useful - Useless R functions
2-
Useless R Functions. That's it :-) And nothing more.
3-
4-
# List of useless functions
5-
1. Mixed Cases
6-
2. DataFrame maker
7-
3. R Job Title generator
8-
4. Psychedelic Square Root visual with x11()
9-
5. Friday 13th obvious searcher
10-
6. Full moon finder
11-
7. Lorem Ipsum R text generator
12-
8. Wacky Password generator
13-
9. Play Rock-Paper-Scissors with your R Engine
14-
10. Duplicate and frequent functions used in many R packages
15-
11. Making Scatter Plot from Image file
1+
2+
<!-- README.md was wriiten in beautiful MacDown -->
3+
4+
# Useful - Useless R functions - UUR
5+
6+
<img src="figures/UURlogo.jpg" align="right" width="300" />
7+
8+
<!-- badges: start -->
9+
![](http://img.shields.io/badge/useful-useless-green.svg)
10+
11+
![](https://img.shields.io/github/forks/tomaztk/useless_r_functions?style=social)
12+
<!-- badges: end -->
13+
14+
<span style="font-size: xx-large; font-weight: normal;">`UUR`
15+
is useful, yet useless set of custom R functions using `{base}` for
16+
your everyday R use. That's it :-) And nothing more.</span>
17+
18+
19+
## Feature Summary
20+
21+
- Mixed Cases ([blog post](https://tomaztsql.wordpress.com/2020/10/17/little-useless-useful-r-function/))
22+
- DataFrame maker ([blog post](https://tomaztsql.wordpress.com/2020/10/20/little-useless-useful-r-function-dataframe-maker/))
23+
- R Job Title generator ([blog post](https://tomaztsql.wordpress.com/2020/10/24/little-useless-useful-r-function-r-jobs-title-generator/))
24+
- Psychedelic Square Root visual with **x11()** ([blog post](https://tomaztsql.wordpress.com/2020/10/26/little-useless-useful-r-function-psychedelic-square-root-with-x11/))
25+
- Friday 13th obvious searcher
26+
- Full moon finder ([blog post](https://tomaztsql.wordpress.com/2020/10/30/little-useless-useful-r-function-full-moon-finder/))
27+
- Lorem Ipsum R text generator ([blog post](https://tomaztsql.wordpress.com/2020/11/02/little-useless-useful-r-functions-r-lorem-ipsum/))
28+
- Wacky Password generator ([blog post](https://tomaztsql.wordpress.com/2020/11/06/little-useless-useful-r-functions-wacky-password-generator/))
29+
- Play Rock-Paper-Scissors with your R Engine ([blog post](https://tomaztsql.wordpress.com/2020/11/13/little-useless-useful-r-functions-play-rock-paper-scissors-with-your-r-engine/))
30+
- Duplicate and frequent functions used in many R packages ([blog post](https://tomaztsql.wordpress.com/2020/11/18/little-useless-useful-r-functions-same-function-names-from-different-packages-or-namespaces/))
31+
- Making Scatter Plot from Image file ([blog post](https://tomaztsql.wordpress.com/2020/11/21/little-useless-useful-r-functions-making-scatter-plot-from-an-image/))
32+
1633

1734
## Cloning the repository
1835
You can follow the steps below to clone the repository.
1936
```
2037
git clone -n https://github.com/tomaztk/Useless_R_functions.git
2138
```
2239

40+
41+
## Quickstart
42+
43+
1. Clone the repository
44+
2. Start using any of the functions e.g. `IsItFriday13()`
45+
3. Explore and enjoy!
46+
47+
<!-- end list -->
48+
49+
``` r
50+
# non-deterministic
51+
IsItFriday13 <- function(){
52+
#da <- "2020-11-13"
53+
da <- Sys.Date()
54+
rn <- as.POSIXlt(da)$wday
55+
d <- as.POSIXlt(da)$mday
56+
57+
if (rn == 5 & d == 13){
58+
print("It is a Friday the 13th!")
59+
} else {
60+
print("Not a Friday 13th!")
61+
}
62+
}
63+
64+
IsItFriday13()
65+
```
66+
2367
## Contributors and co-authors
2468

2569
Thanks to these wonderful community people making and helping this useless R functions better. Contributions of any kind is highly appreciated!
@@ -32,8 +76,45 @@ Thanks to these wonderful community people making and helping this useless R fun
3276
</table>
3377

3478

35-
## License
36-
These samples and templates are all licensed under the MIT license.
3779

38-
## Questions
39-
Email questions to: [email protected]
80+
## Contact
81+
Feel free to get in touch for new useful-useless functions.
82+
83+
84+
# Gallery (from blog)
85+
86+
<div>
87+
88+
<a href="https://tomaztsql.files.wordpress.com/2020/10/2020-10-24-21_08_34-plot-zoom.png"><img width="45%" src="https://tomaztsql.files.wordpress.com/2020/10/2020-10-24-21_08_34-plot-zoom.png"></a>
89+
<a href="https://tomaztsql.files.wordpress.com/2020/10/2020-10-29-22_32_07-moon-phase-formula-updated-watchface-design-_-expression-help-facer-commun.png"><img width="45%" src="https://tomaztsql.files.wordpress.com/2020/10/2020-10-29-22_32_07-moon-phase-formula-updated-watchface-design-_-expression-help-facer-commun.png" />
90+
</a>
91+
<a href="https://tomaztsql.files.wordpress.com/2020/11/screenshot-2020-11-18-at-00.08.11.png"><img width="45%" src="https://tomaztsql.files.wordpress.com/2020/11/screenshot-2020-11-18-at-00.08.11.png"/>
92+
</a>
93+
<a href="https://tomaztsql.files.wordpress.com/2020/11/460px-rock-paper-scissors.svg_.png"><img width="45%" src="https://tomaztsql.files.wordpress.com/2020/11/460px-rock-paper-scissors.svg_.png"/>
94+
</a>
95+
<a href="https://tomaztsql.files.wordpress.com/2020/11/2020-11-13-00_36_21-window.png"><img width="45%" src="https://tomaztsql.files.wordpress.com/2020/11/2020-11-13-00_36_21-window.png"/>
96+
</a>
97+
<a href="https://tomaztsql.files.wordpress.com/2020/10/screenshot-2020-10-24-at-12.07.30.png"><img width="45%" src="https://tomaztsql.files.wordpress.com/2020/10/screenshot-2020-10-24-at-12.07.30.png"/>
98+
</a>
99+
<a href="https://tomaztsql.files.wordpress.com/2020/11/screenshot-2020-11-05-at-21.56.59.png"><img width="45%" src="https://tomaztsql.files.wordpress.com/2020/11/screenshot-2020-11-05-at-21.56.59.png"/>
100+
</a>
101+
<a href="https://tomaztsql.files.wordpress.com/2020/10/2020-10-31-21_18_58-rstudio.png"><img width="45%" src="https://tomaztsql.files.wordpress.com/2020/10/2020-10-31-21_18_58-rstudio.png"/>
102+
</a>
103+
<a href="https://tomaztsql.files.wordpress.com/2020/11/screenshot-2020-11-20-at-22.02.11.png"><img width="100%" src="https://tomaztsql.files.wordpress.com/2020/11/screenshot-2020-11-20-at-22.02.11.png"/>
104+
</a>
105+
<div>
106+
107+
108+
109+
# Vignettes
110+
111+
#### General examples
112+
113+
114+
115+
# ToDo
116+
117+
- Possibly change some functionalities to work properly on UNIX / WIN machines
118+
- `x11()` and `CLI export`
119+
- A vignette finished; write proper feature details!
120+
- R package!
50.8 KB
Loading

figures/UURlogo.jpg

91.7 KB
Loading
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)