Correctly specifying a distribution family for regression model can improve estimate accuracy. But what if we’re unsure? The {check_distribution} function from {performance} 📦 uses Random Forest to help you reconsider the choice ⚠️ https://t.co/qD7cQvNLLz #rstats #DataScience https://t.co/MLhkCT2cwh

2021/07/04

#rstats

R Function A Day (@rfunctionaday; 356/64): Correctly specifying a distribution family for regression model can improve estimate accuracy. But what if we’re unsure?

The {check_distribution} function from {performance} 📦 uses Random Forest to help you reconsider the choice ⚠️

https://t.co/qD7cQvNLLz

#rstats #DataScience https://t.co/MLhkCT2cwh

Dan Quintana (@dsquintana; 231/61): GitHub Copilot autocompletes your code snippets. You can also type in plain language what you want to do (e.g., “create a density plot with variables X and Y”) and it will suggest code. And yes, this works with #Rstats.

This is going to be a game changer https://t.co/jn7q1x0LIa

David Smith (@revodavid; 203/31): For those asking if GitHub Copilot knows about data analysis with tidyverse in R #rstats: https://t.co/Ho1tu9QdWS

PINAKI (@PinakiLaskar; 187/140): Vehicle detection and Counting
Detection: mask-rcnn

#BigData #Analytics #DataScience #IoT #IIoT #RStats #JavaScript #ReactJS #CloudComputing #Serverless #Linux #Programming #Coding #Innovation #MachineLearning #selfdrivingcars #devcommunity #100DaysofCode #AI #autonomousvehicles https://t.co/JtlbOQgzYg

Shahul Hameed.M (@sh_hameed; 131/144): 10 Amazing #MachineLearning Projects of 2020. #Python #BigData #Analytics #AI #DataScience #IoT #IIoT #Azure #RStats #DotNet #C #CPP #Java #Flutter #SQL #TensorFlow #JavaScript #ReactJS #Serverless #DataScientist #Linux #Programming #Coding #100DaysofCode https://t.co/UQU93uV21f https://t.co/iL4BD2BZaO

Dr. Ganapathi Pulipaka 🇺🇸 (@gp_pulipaka; 122/105): The Best Machine Learning Books from Manning. #BigData #Analytics #DataScience #IoT #IIoT #PyTorch #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #CloudComputing #Serverless #DataScientist #Linux #Books #Programming #Coding #100DaysofCode
https://t.co/USsFAXvP7M https://t.co/kUbJMwkN12

Dr. Ganapathi Pulipaka 🇺🇸 (@gp_pulipaka; 120/114): Beginners Guide to AI. Deep Dive into AI. #BigData #Analytics #DataScience #AI #MachineLearning #IoT #IIoT #Python #RStats #TensorFlow #JavaScript #ReactJS #CloudComputing #Serverless #DataScientist #Linux #Mathematics #Programming #Coding #100DaysofCode
https://t.co/XBWK7QbcBl https://t.co/s2OsSG9DAy

blogdown

R posts you might have missed! (@icymi_r; 99/22): ✍️🖥️ Up & running with blogdown in 2021

👤 Alison Presmanes Hill @apreshill

🔗 https://t.co/NXyPZVXjTK
#rstats #datascience https://t.co/CJ9fibKjJJ

Scott Chamberlain (@sckottie; 10/0): @dm_ferraro nice one! if it helps there’s this https://t.co/ODug498NgP for parsing scientific names - installs and uses a Go library (sorta like blogdown installs hugo)

Jenny Sloane (@jfsloane; 6/3): Looking for something to do during lockdown?? Join us virtually this coming Monday for a workshop on building websites using #R #blogdown. Sign up here https://t.co/L6FQ1TOdNO or DM me for more details @TehillaOst @fonti_kar @UNSWScience https://t.co/qf5AGiIZrz

Jenny Sloane (@jfsloane; 4/1): I’m trying to build a website in R using the hugo academic theme and noticed there may have been some recent updates and I can no longer deploy my site (looks like a module or repo doesn’t exist any more) - any suggestions? @wowchemy #blogdown @apreshill @xieyihui 1/2

Ben Harrap (@BHarrap; 3/2): Just spent an hour troubleshooting why an image wasn’t rendering in a #blogdown post only to notice I was referencing ‘dag.png’ when I should’ve been referencing ‘dag.PNG’.

#rstats

tidyverse tweets (@tidyversetweets; 2/2): How to use the Hugo default theme index.html file generated by index.Rmd file on Netlify using blogdown? #tidyverse #rstats https://t.co/hH7YcvDUKt

Chris Gaskell (@chrisgaskell92; 2/2): How to spend a weekend of self-isolation…?
By making your dog an academic website, obviously! 😅

#RStats #blogdown

https://t.co/Fs6tGLjlp8

tidyverse tweets (@tidyversetweets; 1/2): how to deploy a bookdown book inside a blogdown website #tidyverse #rstats https://t.co/XGamtBplEC

tidyverse tweets (@tidyversetweets; 1/2): Error building webpage: RStudio + blogdown + Ezhil Theme #tidyverse #rstats https://t.co/xwx8KLk30X

Enrico Manlapig (@EnricoManlapig; 1/0): @VilhelminaAna @econotw Hello! If you are an #R person, blogdown/Hugo (Academic) does everything. Distill is much simpler to setup and maintain. I’m using Hugo apero these days, which is kind of in the middle https://t.co/GunfLa2Wv8

bookdown

Nithin .M (@nithin_eco; 90/11): My favourite R packages:

  1. purrr
  2. Broom
  3. Rmarkdown/bookdown
    4.epoxy ( it will be on top soon)
    5.janitor

Please list yours😀

#rstats #EconTwitter

R posts you might have missed! (@icymi_r; 79/22): 📚🩺 Reproducible Medical Research with R

👤 Peter Higgins @ibddoctor

🔗 https://t.co/K7rsdHfzIQ
#rstats #datascience

Nick HK (@nickchk; 41/11): If you are at all interested in using bookdown to write a Tufte-style HTML book like https://t.co/UniLiNQudW, I’ve made a repo of all the tweaks I made to msmbstyle to get it how I wanted (navbar always-on on left, better centering, sidenote numbering).

https://t.co/S0GKqbWcec

Julián Velasco 🦎 (@juvelas; 33/0): Libros sobre R y SIG https://t.co/gVSkZ2TJpM

Mine Çetinkaya-Rundel (@minebocek; 24/2): The book is written fully with #rstats in @rstudio using bookdown. Full source code can be found at https://t.co/AK1a7LJ9jR (issues and PRs welcome 😉)

Huge thanks to @rundel for help with the conversion from LaTeX to Rmd and @chrisderv for help with multi-output Rmd!

13/n

Ewan Donnachie 🇬🇧🇩🇪 (@ERDonnachie; 11/7): This looks like a very good reference covering important statistical concepts in a non-technical way.

Equally interesting: The bookdown code on github provides a masterclass in creating publication-quality books in HTML and PDF format.
#RStats #bookdown #rmarkdown https://t.co/k7bJOeDoEA

Keith McNulty (@dr_keithmcnulty; 9/2): Another great product of the #bookdown revolution. congrats @minebocek and @jo_hardin47. Looking forward to flicking through this when my copy arrives later this week. #rstats #tidyverse #stats #datascience https://t.co/H5EFD4RjUl

Indrajeet Patil (@patilindrajeets; 6/0): @nithin_eco @rstatstweet See this section from the book:
https://t.co/9gz3c2bQbz

You can use this as the starting point for a custom function: https://t.co/WIRkqHdLSM

Hao Ye (@Hao_and_Y; 5/0): @joelmcglothlin @Choosy_Female @yanivbrandvain I’m not actively teaching stats or exp. design, but my opinion crystallized from many years of debugging data analysis issues is that a foundation in the data-generating process is essential…

So, seconding the approach in @yanivbrandvain’s book - https://t.co/9p8vz7laff

Daniel BarelyOnline McNichol (@dnlmc; 4/1): @seanmhoban @RLadiesGlobal some of my fav resources:

Eirini Tsirvouli (@eirini_tsi; 4/0): @KDrakoulaki https://t.co/tqI93dsD8P
I found this tutorial pretty helpful, together with the official documentation of the package :)

Katerina Drakoulaki (@KDrakoulaki; 3/4): #rstats #rstudio people, do you have a recommendation for a #bookdown intro for dummies? Like, really for dummies? I’m kinda puzzled as to index and yaml files and what they do… https://t.co/5G2q6GnhJV

Omid Ghasemi (@Omid_Ghasemi21; 2/0): @SolomonKurz @ktaylor @oscar_olvera100 @JamesEBartlett @LisaDeBruine Solomon, I was thinking of using @LisaDeBruine faux package, which she presented on this summer school, for simulation in your bookdown instead of Mass. I will open an issue on Github later.

liliana ballesteros (@lilibamej; 1/1): Nice resource to find books about R and GIS 😉 https://t.co/LFaYmq82m2

armchairtrader (@armchairtrader1; 1/1): I dont think any retail traders needs to do any option seminar beyond this @AnandableAnand @TraderLogical u can share with ur followers if u like the content.not my content.

Chapter 5 The Greeks | The Derivatives Academy https://t.co/AyyS0denzr #rmarkdown #bookdown

Isabella R. Ghement (@IsabellaGhement; 1/0): @SolomonKurz @statwonk The other thing you can try is a good old exploratory analysis: fit lm() models separately for each ‘individual’ to get slopes and intercepts (if possible) and plot the slopes against the intercepts. See Section 9.4 of https://t.co/01fuVOSN9S for what this looks like.

Nick HK (@nickchk; 1/0): A repo for adjustments to msmbstyle (a Bookdown -> Tufte-HTML book affair) https://t.co/SK8L4RDshZ

Sitendu Goswami (@sitendurocks; 1/0): @nithin_eco yeah #rmarkdown #bookdown and #git are absolute lifesavers

Dr Lizzie Shephard (@lizzieshephard; 1/0): @AlessioBellato @beffdizzle Definitely not an expert but have done a few meta-analyses. This book is online and free and shows you how to do everything https://t.co/sUtMlzL9yW

Aaro Salosensaari (@aqsalose; 1/0): This open R-based tutorial / book by Mathias Harrer, called Doing Meta-analysis in R was nice: https://t.co/jBob8Gkw5a

Written on introductory level, but the references should provide enough material to keep also those who want a more advanced treatment happy.

David Saeteros (@saeteros_david; 1/0): If you ever find yourself trying to compute manually an Egger’s test for whatever reason (e.g. trying to understand it step-by-step), check this out.
https://t.co/UysCIA5WUZ

Liz Mathiasen (@LizMathiasen; 1/0): @C_Poku93 @DrTomasS Interestingly enough, someone already felt the same way and wrote a whole R book about it.

https://t.co/RTeyLtlLai

Lluís Revilla Sancho (@Lluis_Revilla; 1/0): @KDrakoulaki Not an expert but index.Rmd is the cover page, _output.yml how the book is knitted (PDF, website,… links, chapters…) , and _bookdown.yml what is on the book (title, author, organization…)

Tyler Smith (@sedgeboy; 0/2): #bookdown users: any tips for figuring out why my cross-references to figures work in pdf_document2, but not in word_document2? The chunk labels look ok (no _), they all have captions. All work in pdf, only 1 out of 5 work in docx #rstats

knitr

Watal M. Iwasaki (@heavywatal; 58/9): @hankagosa お、お、お褒めに預かり光栄です!R Markdown を書けばあとは knitr, Hugo, reveal.js, KaTeX がいい感じにやってくれます。ソースコードはこちらです:
https://t.co/3VxLQUA7KG

Christophe Dervieux (@chrisderv; 15/3): @benmarwick @JuniperLSimonis @precatlady @apreshill @xieyihui This is not a straightforward task but you can use advanced knitr tricks to achieve this. I have written the how to in a blogpost
https://t.co/rmqydEuNpj
Hope it will be clear enough to help !

If this is something common, we could definitely add a helper function for this.

Catherine (@fishiintheC; 7/3): @UQ_Library @RLadiesBrisbane One quick #RMarkdown tip is to use “r https://t.co/9wlPsOwn0l()” in the YAML header to automatically update the date when you knit. 👍

#R #RStudio #knitr https://t.co/qZYdgm8oK8

Dr Simonis (they/them) knows what chem weapons are (@JuniperLSimonis; 4/1): How to retrieve all of the alt text from knitr chunks in a markdown doc!! https://t.co/bVBUVuIjFM

Catherine (@fishiintheC; 3/3): You can find the @UQ_Library ‘Reproducible reports with R markdown and knitr’ course materials by my colleague Stephane Guillou here: https://t.co/N6xZgzsyUi

#R #Rmarkdown #RStats #Coding

Guillaume Loignon (@softnoumenon; 3/1): @EdIvimeyCook Use RStudio projects, avoid loops and conditional blocks when possible, you don’t have to use knitr if you don’t want to, tidyverse + data.table() FTW.

Jo Etzel (@JosetAEtzel; 2/2): Blog posts, starting with https://t.co/L3r9ClSJEk, describe the supplemental files. These are all #RStats (#baseR flavor), primarily #knitr, and so are also tutorials for working with neuroimaging data in R (big thanks to @jonclayden for RNifti & @StrictlyStat for gifti!). 4/8

David Ibarra Gomez (@David_Barracuda; 2/0): @nithin_eco @rstats4ds RCpp
data.table
RInside
RPostgreSQL
xgboost
randomForest
ggplot2
rpart
openxlsx
shiny
flexdashboard
survival
rgdal
rcurl
knitr
rcurl
RProtoBuf
forecast
lpSolve
… and many many features of rbase.
I am adict… ;)

soumya; (@soumyabg; 1/2): If you know, what a pain in the a.. it is to generate a well formatted printable, publishable PDF report in python, you will appreciate Knitr more than ever #tidyverse

Eyayaw Teka Beze (@EyayawBeze; 1/0): @nithin_eco 1. base
https://t.co/7es6LhQItS.table
3. ggplot2
4. rmarkdown (knitr)
5. dplyr, haven

Royal Statistical Society (@RoyalStatSoc; 1/0): Know anyone interested in learning about automated reports in R? Book 3+ people and enjoy a group discount! #R #Rmarkdown #Knitr
https://t.co/u9qvVIYuzl https://t.co/0ZlrVYaA3N

Royal Statistical Society (@RoyalStatSoc; 1/0): Last few days to book onto our Automated reports in R course! Hurry and book your place today! #R #Rmarkdown #Knitr
https://t.co/u9qvVIYuzl https://t.co/e6FAPcA9tr

Jason Haw (@jasonhaw_; 1/0): The Statamarkdown setup is pretty straightforward. Install & load the package, then add a couple of lines of code to tell knitr where Stata is. Then after that, just declare stata on the name of the code chunk and you can code in Stata, and results are just like in Stata (great!)

Ben Harrap (@BHarrap; 0/2): Another image problem:

1: works
2: knitr::include_graphics(’/img/confirmation-report/dag.png’) breaks page, ‘cannot find file’
3. knitr::include_graphics(’../../static/img/confirmation-report/dag.png’) page OK, no image rendered

#RStats https://t.co/mW8l2IbQDb

tidyverse tweets (@tidyversetweets; 0/1): knitr::current_input() - 2 pases? #tidyverse #rstats https://t.co/sAGNSSU3cq

tidyverse tweets (@tidyversetweets; 0/1): Conflict in the color of a line in table kable knitr using striped and row_spec background #tidyverse #rstats https://t.co/Yxg1ScYRnN

xaringan

R posts you might have missed! (@icymi_r; 28/10): ✍️ xaringan: Comunicando seus resultados em R

👤 R-Ladies São Paulo @RLadiesSaoPaulo

🔗 https://t.co/nQ1SlwB1nW
#rstats #datascience https://t.co/NRG1nWKKdb

The R-Podcast (Eric) (@theRcast; 22/2): Putting @grrrck’s #xaringan playground tips from #rstudioglobal2021 to great use for my upcoming @_useRconf talk!

Everything works smoothly in @CodeVisual, even the infinite moon reader 💪 Amazing work to bring #rstats support to VSCode @renkun_ken @ikuyadeu0513 @MilesMcBain https://t.co/nxJXcSyxo6

Ignacio Spiousas (@Spiousas; 13/3): Hoy hice mi primera presentación para un seminario utilizando íntegramente #rstats y #xaringan. Gracias a @spcanelon por su espectacular tutorial en YouTube que me recontra ayudó y a @karbartolome por el apoyo moral y por compartirme sus slides.

USGS Data Science (@USGS_DataSci; 9/1): This gif was inspired by a blog post by @PipingHotData for @WeAreRLadies @RLadiesGlobal and made with #rstats using @EvaMaeRey’s #flipbookr 📦 highly recommend!
https://t.co/gKA2ZA4wwJ

Ingo Rohlfing (@ingorohlfing; 5/3): Self-contained {xaringan} slides that do not require online connection https://t.co/nOK85ScpC0 by @xieyihui
👇 YAML header does the magic #RStats https://t.co/KF9MQ3QU2e

Silvia Canelón (@spcanelon; 3/0): @Spiousas @Chazkon @karbartolome Enlaces para los videos y las diapos que acompañan también se pueden conseguir en el sitio web del taller https://t.co/j2PYaH6QWj

Karina Bartolomé 💚 (@karbartolome; 3/0): @Spiousas @spcanelon Espero que hayan servido de algo y qué bueno que haya salido bien, realmente #xaringan es increíble 🙌

Stefan Schmutz (@sschmutz_; 2/0): @le_Tomassini @schochastics I also just came across this tweet and had the same question. @Emil_Hvitfeldt has an example for it in his xaringan-gallery:
🔗 https://t.co/8nsuedks1K

えいつぴ (@eitsupi; 1/0): xaringanとxaringanthemer今回初めて使いましたがすごく良かったです。今後も積極的に使いたいです。

Charlie 👩‍💻 (@charliejhadley; 1/0): To keep my slides minimal I often repeat the slide title with (I), (II) etc…

Is there a nice font that includes good looking Roman numerals?

Should I use a separate font for the numerals… ? How is that done neatly in RMarkdown/{xaringan} headers?! https://t.co/bDUzc6VM0Z

Alison Presmanes Hill (@apreshill; 1/0): @ibddoctor @ry_estrellado @cascadiarconf there is a xaringan version? https://t.co/RH1bP92yRy

Peter Higgins (@ibddoctor; 1/0): @apreshill @ry_estrellado @cascadiarconf Hard truth: the xaringan version was better

Kuan Liu 刘宽 (@KuanLiu2; 1/0): Example presentation slides using the UT xaringan template, https://t.co/o4887pN11p, GitHub repo, https://t.co/O0WuwKpqy1

Pablo (@pabblo_h; 1/0): @d_olivaw Esta cuenta le mete cosas de power point a las diapos de xaringan 🤭

atusy (@Atsushi776; 1/0): @niszet0 xaringanに言及した次のコメントでrevealjs 4.10入れたぜ!って人いるから、十分対応可能な範囲なんだと思ってます。
単にrstudioのリソース不足かなあと。
https://t.co/CXHrYiDcXL

atusy (@Atsushi776; 1/0): @niszet0 ソレ……。だからモダンでイカしたswiperを作ろうって思ったんですけど、想像以上に難しくて一旦停止です(笑)
xaringanも人気ありますけど、あっちは実際にはremarkjsでまたちょいと違いますしね……。

Ricky Esclapon (@Esclaponr; 1/0): @d_olivaw Would be nice for xaringan to support the visual markdown editor since I’d think you could use that maybe. And will be cool to see that interface keep evolving for allowing use cases like these as more people point out things like this one that are currently too cumbersome https://t.co/fz7sXg4xZk

Lukas Burk / JeMScu (@Jemus42; 0/2): Copypasting other people’s {xaringan} CSS into my own frankentheme, but as a personality
#rstats

tidyverse tweets (@tidyversetweets; 0/1): Switch slide number display on and off with xaringan / reveal.js slides #tidyverse #rstats https://t.co/G3s5Xa45qN