-
Notifications
You must be signed in to change notification settings - Fork 2
/
January-2021.Rmd
34 lines (17 loc) · 6.48 KB
/
January-2021.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# January 2021 {-}
## January 24 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Use {tabyl} function from {janitor} to quickly prepare a frequency table 👌<br><br>Additionally, you can also use {adorn_} functions to make the printing even prettier!<a href="https://twitter.com/hashtag/RStats?src=hash&ref_src=twsrc%5Etfw">#RStats</a> <a href="https://twitter.com/hashtag/DataScience?src=hash&ref_src=twsrc%5Etfw">#DataScience</a> <a href="https://t.co/3BbKO83CSE">pic.twitter.com/3BbKO83CSE</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1353254143880781825?ref_src=twsrc%5Etfw">January 24, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## January 25 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Often you might want to make a new column as a combination of a few other columns in a dataframe and {tidyr::unite} is exactly what you are looking for! 🪄 <a href="https://twitter.com/hashtag/rstats?src=hash&ref_src=twsrc%5Etfw">#rstats</a> <a href="https://twitter.com/hashtag/DataScience?src=hash&ref_src=twsrc%5Etfw">#DataScience</a> <a href="https://t.co/BeNs5nXz0T">pic.twitter.com/BeNs5nXz0T</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1353603346163257345?ref_src=twsrc%5Etfw">January 25, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## January 26 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Use the powerful parser functions from {readr} to parse a vector into the expected type 🗂<br><br>Helpful with messy, user-entered data where these functions can make educated guesses about what the input was supposed to be.<a href="https://twitter.com/hashtag/rstats?src=hash&ref_src=twsrc%5Etfw">#rstats</a> <a href="https://twitter.com/hashtag/DataScience?src=hash&ref_src=twsrc%5Etfw">#DataScience</a> <a href="https://t.co/5MGHmEM9Pu">pic.twitter.com/5MGHmEM9Pu</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1353961064568913920?ref_src=twsrc%5Etfw">January 26, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## January 27 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">The {model_performance} function from {performance} 📦 is a quick way to get detailed regression model summary indices for a huge no. of models! 📝<a href="https://t.co/vMpMVbz0x5">https://t.co/vMpMVbz0x5</a><a href="https://twitter.com/hashtag/rstats?src=hash&ref_src=twsrc%5Etfw">#rstats</a> <a href="https://twitter.com/hashtag/DataScience?src=hash&ref_src=twsrc%5Etfw">#DataScience</a> <a href="https://t.co/VzPRICbIAg">pic.twitter.com/VzPRICbIAg</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1354313455701028864?ref_src=twsrc%5Etfw">January 27, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## January 28 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Tibbles are modern data frames and are ubiquitous in the {tidyverse}. But what if you want to build a tibble from scratch?<br><br>The {tribble} function provides an intuitive row-by-row syntax to do so! 🧱👷<a href="https://t.co/UBRRJLyM47">https://t.co/UBRRJLyM47</a><a href="https://twitter.com/hashtag/rstats?src=hash&ref_src=twsrc%5Etfw">#rstats</a> <a href="https://twitter.com/hashtag/DataScience?src=hash&ref_src=twsrc%5Etfw">#DataScience</a> <a href="https://t.co/X8KlYkRCTF">pic.twitter.com/X8KlYkRCTF</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1354693321776648192?ref_src=twsrc%5Etfw">January 28, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## January 29 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Some functions may remove {NA}s in the data by default when one wishes to retain them.<br><br>{replace_na} from {tidyr} can help here by replacing {NA}s with a specified value 🕵️♀️<a href="https://t.co/y4Of3tcexf">https://t.co/y4Of3tcexf</a><a href="https://twitter.com/hashtag/rstats?src=hash&ref_src=twsrc%5Etfw">#rstats</a> <a href="https://twitter.com/hashtag/DataScience?src=hash&ref_src=twsrc%5Etfw">#DataScience</a> <a href="https://t.co/XIodtKU7Xn">pic.twitter.com/XIodtKU7Xn</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1355049456224317441?ref_src=twsrc%5Etfw">January 29, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## January 30 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">If you are feeling a bit ambitious and want to understand what is the abstract syntactic structure of your R code, you can use the {ast} function from {lobstr} package to draw a tree representation! 🦞 <a href="https://t.co/WbyECG3a4H">https://t.co/WbyECG3a4H</a><a href="https://twitter.com/hashtag/rstats?src=hash&ref_src=twsrc%5Etfw">#rstats</a> <a href="https://twitter.com/hashtag/datascience?src=hash&ref_src=twsrc%5Etfw">#datascience</a> <a href="https://t.co/cgMZDz1vz1">pic.twitter.com/cgMZDz1vz1</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1355411209022038016?ref_src=twsrc%5Etfw">January 30, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## January 31 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">"All work and no play makes Jack a dull boy"<br>So it's important to also have a little fun as part of your <a href="https://twitter.com/hashtag/rstats?src=hash&ref_src=twsrc%5Etfw">#rstats</a> workflows. <br><br>To that end, you can use {say} function from {cowsay}! 🐮 💬 <a href="https://t.co/SmDKtEHbMC">https://t.co/SmDKtEHbMC</a><a href="https://twitter.com/hashtag/rstats?src=hash&ref_src=twsrc%5Etfw">#rstats</a> <a href="https://twitter.com/hashtag/DataScience?src=hash&ref_src=twsrc%5Etfw">#DataScience</a> <a href="https://t.co/8AROLW8r3d">pic.twitter.com/8AROLW8r3d</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1355782785546543104?ref_src=twsrc%5Etfw">January 31, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>