-
Notifications
You must be signed in to change notification settings - Fork 2
/
July-2021.Rmd
125 lines (63 loc) · 26.5 KB
/
July-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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# July 2021 {-}
## July 1 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">If you share code plus data, it's a good idea to adopt a few defensive techniques to ensure that the data are what the code expects.<br><br>The {assert_that} function from {assertthat} 📦 provides just the tool! 🥋<a href="https://t.co/kQT74S0AQX">https://t.co/kQT74S0AQX</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/ScTmUxQxnr">pic.twitter.com/ScTmUxQxnr</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1410473756737290241?ref_src=twsrc%5Etfw">July 1, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 2 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Either for aesthetic or for highlighting purposes, you may sometimes wish to draw borders around legend keys in {ggplot2} plots. 🖼️<br><br>The {keybox} from {ggfun} 📦 does exactly this, easily and flexibly 🙌<a href="https://t.co/dBAjEqKzY2">https://t.co/dBAjEqKzY2</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/mvFxIeInyj">pic.twitter.com/mvFxIeInyj</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1410798661915877378?ref_src=twsrc%5Etfw">July 2, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 3 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">If you don't use RMarkdown and copy-paste software output to report statistics, you'd want to check that no errors were made in the process.<br><br>The {statcheck} function from eponymous 📦 does this (for single or multiple files)! 🔍<a href="https://t.co/HdW6CKKPO8">https://t.co/HdW6CKKPO8</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/tgC5ysvz6T">pic.twitter.com/tgC5ysvz6T</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1411184461304242178?ref_src=twsrc%5Etfw">July 3, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 4 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Correctly specifying a distribution family for regression model can improve estimate accuracy. But what if we’re unsure?<br><br>The {check_distribution} function from {performance} 📦 uses Random Forest to help you reconsider the choice ⚠️<a href="https://t.co/qD7cQvNLLz">https://t.co/qD7cQvNLLz</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/MLhkCT2cwh">pic.twitter.com/MLhkCT2cwh</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1411533069107015685?ref_src=twsrc%5Etfw">July 4, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 5 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">While scraping web data in R, sometimes we may wish that the extracted text layout mimics its browser/HTML behavior (e.g. ignore whitespace).<br><br>The {html_text2} function from {rvest} 📦 helps with exactly this! 🙇♀️<a href="https://t.co/QJwe3nXx43">https://t.co/QJwe3nXx43</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/T7NU9MYKqL">pic.twitter.com/T7NU9MYKqL</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1411909503642132482?ref_src=twsrc%5Etfw">July 5, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 6 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Simple slopes analyses can help understand interaction effects in linear regression.<br><br>The {sim_slopes} function from {interactions} 📦 provides an easy way to both run and visualize this analysis for 2-way or 3-way interactions! 🎚️<a href="https://t.co/4Xvc4FMrEr">https://t.co/4Xvc4FMrEr</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/70AFS2QQcF">pic.twitter.com/70AFS2QQcF</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1412279782956544000?ref_src=twsrc%5Etfw">July 6, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 7 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">A histogram is a good visualization to represent the distribution of numeric data. 📊<br><br>The {gghistostats} function from {ggstatsplot} 📦 provides ready-made histograms (with additional descriptive and inferential statistics) 🍒<a href="https://t.co/zSmT4MBGjX">https://t.co/zSmT4MBGjX</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/xMFwXedQSO">pic.twitter.com/xMFwXedQSO</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1412651083256811527?ref_src=twsrc%5Etfw">July 7, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 8 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">If you want to use non-standard fonts or characters, getting graphics devices to work with them can be a pain.<br><br>The {showtext_auto} function from {showtext} 📦 supports a large collection of font formats and graphics devices! 🙌<a href="https://t.co/bt3SzZfyhI">https://t.co/bt3SzZfyhI</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/bYmyfZEfhL">pic.twitter.com/bYmyfZEfhL</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1412985327812288513?ref_src=twsrc%5Etfw">July 8, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 9 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Sometimes we may wish to provide descriptive labels for colors we are using, but may not know how to label them.<br><br>The {name} function from {ColorNameR} 📦 produces color labels in multiple languages and colorspaces! 🎨<a href="https://t.co/RVkqjq7Ksz">https://t.co/RVkqjq7Ksz</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/MmD1MWPHF3">pic.twitter.com/MmD1MWPHF3</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1413374670041124864?ref_src=twsrc%5Etfw">July 9, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 10 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Sometimes we may wish to check all relevant assumptions for a regression model in one go. 🔍<br><br>The {check_model} function from {performance} 📦 does exactly this and also provides elegant visualizations with helpful pointers ✅📊<a href="https://t.co/4SIIL0u9Jn">https://t.co/4SIIL0u9Jn</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/EMmye4qAZk">pic.twitter.com/EMmye4qAZk</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1413719791114854406?ref_src=twsrc%5Etfw">July 10, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 11 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">If you are writing manuscripts in RMarkdown, you may wish to auto-generate citations for all R packages used in the document. ✍️<br><br>The {write_bib} function from {knitr} 📦 does exactly this! 📄<a href="https://t.co/JYux01tB7h">https://t.co/JYux01tB7h</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/YvOiaPeYfY">pic.twitter.com/YvOiaPeYfY</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1414096128807784448?ref_src=twsrc%5Etfw">July 11, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 12 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">While plotting time series data, we may wish to plot several subseries corresponding to the periods of interest (seasons, months, etc.).<br><br>The {ggfreqplot} function from {ggfortify} 📦 makes this task effortless! 📈📉 <a href="https://t.co/rRmcQbKv4U">https://t.co/rRmcQbKv4U</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/Vic17LXkM9">pic.twitter.com/Vic17LXkM9</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1414443719688851459?ref_src=twsrc%5Etfw">July 12, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 13 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">If 📦s being used happen to have a function with an identical name, using that function *may* fail.<br><br>Aside from `::` qualifier, {conflicted_prefer} function from {conflicted} 📦 can solve this conflict by prioritizing one function 🥇<a href="https://t.co/n96Mt8kHx3">https://t.co/n96Mt8kHx3</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/V9jZwxADoM">pic.twitter.com/V9jZwxADoM</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1414814093387632644?ref_src=twsrc%5Etfw">July 13, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 14 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Exploratory data analysis often involves specifying and comparing multiple regression models.<br><br>The {compare_parameters} function from {parameters} 📦 provides dot-and-whisker plots to display and compare regression estimates! 🥇🥈🥉<a href="https://t.co/vmuGta5W9i">https://t.co/vmuGta5W9i</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/Xyve8SMk1Q">pic.twitter.com/Xyve8SMk1Q</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1415169535481626624?ref_src=twsrc%5Etfw">July 14, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 15 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Either computing environment or good practice recommendations may compel you to check for file paths, character encoding, etc. in your script. 🔍<br><br>The {is_} function family from {xfun} 📦 provides tools to run such checks easily ✅<a href="https://t.co/LdRTIKXOCA">https://t.co/LdRTIKXOCA</a><a href="https://twitter.com/hashtag/rstats?src=hash&ref_src=twsrc%5Etfw">#rstats</a> <a href="https://twitter.com/hashtag/DataSciencee?src=hash&ref_src=twsrc%5Etfw">#DataSciencee</a> <a href="https://t.co/YCtgZEufae">pic.twitter.com/YCtgZEufae</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1415537595132547074?ref_src=twsrc%5Etfw">July 15, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 16 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Sometimes we may wish to assess the polarity (positive, negative, neutral) of text data.<br><br>The {sentiment} function from {sentimentr} 📦 provides a convenient and flexible way to approximate the sentiment of the text by sentence ➕➖<a href="https://t.co/mMpxUxXyVP">https://t.co/mMpxUxXyVP</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/9oXGUwVTnf">pic.twitter.com/9oXGUwVTnf</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1415887978505900039?ref_src=twsrc%5Etfw">July 16, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 17 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">During exploratory phase, we may wish to visualize and model data quickly and thoroughly. ➿<br><br>The {ggwithinstats} function from {ggstatsplot} 📦 does this for one-way repeated measures designs via plots with statistical details 📊<a href="https://t.co/lOT7qa37z8">https://t.co/lOT7qa37z8</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/UxoUQr1cvB">pic.twitter.com/UxoUQr1cvB</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1416257348289679360?ref_src=twsrc%5Etfw">July 17, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 18 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">To keep related data together, you might sometimes create dataframes with columns that themselves contain dataframes. 🧳<br><br>Since working with them can be a pain, the {unpack} function from {tidyr} 📦 helps you "unpack" them! 🔨<a href="https://t.co/rt0ekSiMUg">https://t.co/rt0ekSiMUg</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/m2O8OQRDgF">pic.twitter.com/m2O8OQRDgF</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1416619255798411266?ref_src=twsrc%5Etfw">July 18, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 19 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">If you use {dplyr} 📦 for data analysis, you may sometimes wish to carry out statistical analysis on a grouped data frame.<br><br>If the statistical function requires the whole dataframe, the {cur_data} function provides just the tool! 🗄️<a href="https://t.co/IemOGQqqrH">https://t.co/IemOGQqqrH</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/MzEnBq0tp0">pic.twitter.com/MzEnBq0tp0</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1416983216049856522?ref_src=twsrc%5Etfw">July 19, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 20 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Visualizing variable distribution via violin plot is easy in {ggplot2}, but we may wish to avoid redundant mirroring of the density plot.<br><br>The {stat_density_ridges} function from {ggridges} 📦 provides just the geometric layer! 🙌<a href="https://t.co/x6yAh0hHW9">https://t.co/x6yAh0hHW9</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/V3JhOamnFb">pic.twitter.com/V3JhOamnFb</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1417348837778329603?ref_src=twsrc%5Etfw">July 20, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 21 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">During analysis, model selection may involve the specification of multiple models and formally testing if they are different.<br><br>The {test_performance} function from {performance} 📦 performs and summarizes indices from these tests 🥇<a href="https://t.co/Qd25p55XPq">https://t.co/Qd25p55XPq</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/EvmEOVXNRn">pic.twitter.com/EvmEOVXNRn</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1417720749452931072?ref_src=twsrc%5Etfw">July 21, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 22 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">While visualizing data across a combination of variables, {facet_wrap} in {ggplot2} creates small multiples. But what if the variables are nested?<br><br>The {facet_nested_wrap} function from {ggh4x} 📦 handles exactly such designs! 📊🙌<a href="https://t.co/WVp154GvPA">https://t.co/WVp154GvPA</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/P6ZjOUF9eV">pic.twitter.com/P6ZjOUF9eV</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1418069470195724288?ref_src=twsrc%5Etfw">July 22, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 23 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Sometimes you may wish to do something in R and can't think of any package that might be helpful.<br><br>In such cases, the {findPackage} function from {packagefinder} 📦 can search and return relevant CRAN packages given the keywords 🔍<a href="https://t.co/0IiwJtafTq">https://t.co/0IiwJtafTq</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/n946xE4cAS">pic.twitter.com/n946xE4cAS</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1418428040389009410?ref_src=twsrc%5Etfw">July 23, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 24 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Sometimes you may wish to write SQL queries (for practice?) without access to a database. 😩<br><br>In such cases, you can use the {dbwritetable} function from {DBI} 📦 to copy a dataframe to a database table, and then write queries! ✍️🙌<a href="https://t.co/Gu3HwjrR0S">https://t.co/Gu3HwjrR0S</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/z6IZnW0o1o">pic.twitter.com/z6IZnW0o1o</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1418794036840828939?ref_src=twsrc%5Etfw">July 24, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 25 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Simulating parameter draws can sometimes be a (computationally faster) alternative to bootstrapping. ⏲️<br><br>The {simulate_parameters} function from {parameters} 📦 can run and visualize such simulations for various regression models 🎲<a href="https://t.co/SHdA3JANeq">https://t.co/SHdA3JANeq</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/sRe2BhPKjW">pic.twitter.com/sRe2BhPKjW</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1419175619766665217?ref_src=twsrc%5Etfw">July 25, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 26 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">In case you are looking for an alternate, "operator" way to access object attributes in R, you can use the infix attribute accessor (%@%) from {rlang} 📦!️<a href="https://t.co/C0T97lOtWV">https://t.co/C0T97lOtWV</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/zAYw4JCo5i">pic.twitter.com/zAYw4JCo5i</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1419557005769986051?ref_src=twsrc%5Etfw">July 26, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 27 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Sometimes you need to plot data from different geographical entities into a grid and may wish to preserve the original geographical orientation of the entities.<br><br>The {facet_geo} function from {geofacet} 📦 produces such a grid! 🗺️<a href="https://t.co/IUIQ1B7rUw">https://t.co/IUIQ1B7rUw</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/MamwLytO4F">pic.twitter.com/MamwLytO4F</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1419897201908764687?ref_src=twsrc%5Etfw">July 27, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 28 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Operating on multiple columns in a row-wise manner is fairly straightforward in {dplyr} 📦.<br><br>In this workflow, the {c_across} function allows you to use the tidy selection syntax to select columns to operate on 🔍<a href="https://t.co/gmFEid0WDK">https://t.co/gmFEid0WDK</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/8uMiwmcxtq">pic.twitter.com/8uMiwmcxtq</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1420257075012149255?ref_src=twsrc%5Etfw">July 28, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 29 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">Either out of curiosity or to improve its performance, sometimes you may want to time your R code.<br><br>The {tic}/{toc} function from {tictoc} 📦 provides just the tool ⏲️<a href="https://t.co/yCu9ArIdBd">https://t.co/yCu9ArIdBd</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/PyHJCSm2NG">pic.twitter.com/PyHJCSm2NG</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1420600490723745798?ref_src=twsrc%5Etfw">July 29, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 30 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">To ensure reproducibility of R script, you may wish it to download needed package versions on a certain date.<br><br>The {groundhog.library} function from {groundhog} 📦 creates a local library with the needed package versions 📑<a href="https://t.co/bOhOXRzfMZ">https://t.co/bOhOXRzfMZ</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/1pLfn8uU4q">pic.twitter.com/1pLfn8uU4q</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1420975283755180037?ref_src=twsrc%5Etfw">July 30, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
## July 31 {-}
<blockquote class="twitter-tweet"><p lang="en" dir="ltr">ROC curves provide a convenient way to compare responses and predictions of a binomial model.<br><br>The {performance_roc} function from {performance} 📦 computes AUC metric and visualizes ROC curves for a collection of models 🥇🥈🥉<a href="https://t.co/ZKty2kA5Br">https://t.co/ZKty2kA5Br</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/LYJgfvZHIF">pic.twitter.com/LYJgfvZHIF</a></p>— R Function A Day (@rfunctionaday) <a href="https://twitter.com/rfunctionaday/status/1421342537160200194?ref_src=twsrc%5Etfw">July 31, 2021</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>