A correlation matrix is a nifty visualization for displaying relationships between multiple variables. The {ggcorrmat} function from {ggstatsplot} 📦 creates such matrices with significance testing and other descriptive details ↔️ https://t.co/rbwEs6qVON #rstats #DataScience https://t.co/EDPanyNE0x

2021/08/29

#rstats

R Function A Day (@rfunctionaday; 30658): A correlation matrix is a nifty visualization for displaying relationships between multiple variables. > The {ggcorrmat} function from {ggstatsplot} 📦 creates such matrices with significance testing and other descriptive details ↔️ > https://t.co/rbwEs6qVON > #rstats #DataScience https://t.co/EDPanyNE0x

JD Long (@CMastication; 26511): What if I told you “Base R is more intuitive for some folks and Tidyverse is more natural for others based on their past experiences, expectations, and how they abstract ideas about data and analysis” #rstats https://t.co/tT9wZCkGc6

Aaron Hawn (@Aaron_Hawn; 24416): Hey @hadleywickham > Whoever wrote “across” is my new favorite person.
I <3 them. > grouped_df <- function(data, vars){ tmp <- data %>% group_by(across(all_of(vars))) %>% summarize(across(where(is.numeric), sum)) > Thanks! #tidyverse #Rstats

Nihilist Data Scientist (@nihilist_ds; 22133): If your analysis isn’t going well, remember it is never too late to delete all your data, give up and forget that it ever happened. That’s always an option. #rstats #pydata #datascience

R posts you might have missed! (@icymi_r; 20033): ✍️📊📅 Calendar plot in R with calendR 📅 [Monthly and Yearly ggplot2 calendars] > 👤 R CODER @rcoderweb
> 🔗 https://t.co/Rqve0kriNK #rstats #datascience https://t.co/LIJYyHnfF8

R posts you might have missed! (@icymi_r; 19339): ✍️ Exploring R² and regression variance with Euler/Venn diagrams > 👤 Andrew Heiss @andrewheiss > 🔗 https://t.co/z8cmMGBSwU #rstats #datascience https://t.co/Gymjy3AlU0

Ukkera (@PrUkkera; 187118): Neural networks guide > #DataAnalytics #MachineLearning #BigData #DataScience #IoT #PyTorch #Python #RStats #TensorFlow #JavaScript #ReactJS #GoLang #CloudComputing #Serverless #DataScientist #WomenWhoCode #Programming #Coding #100DaysofCode #opensource #ArtificialIntelligence #AI https://t.co/WDpJYwJGt7

David Holm (@cloudpreacher; 17699): This is what @Tesla Autopilot see > MT @Analytics_699 #Analytics #AI #Rstats #Reactjs #MachineLearning #BigData #DataScience #Linux #Serverless #SelfDrivingCars #IoT #IIoT #flutter #Innovatioj #DevCommunity #WomenWhoCode #SmartCity #EmergingTech #AutonomousVehicles #100DaysOfCode https://t.co/SXwQgcZlds

Eastern Style (@EasternStyle1; 17297): An eight-legged walking robot transformed from a motorcycle.#Analytics #MachineLearning #AI #Python #Rstats #Reactjs #IoT #IIoT #Linux #Serverless #flutter #ML #javascript #TensorFlow #BigData #CloudComputing #SDGs #SmartCities #Cloud #SmartHome #5G #Robotics #100DaysOfCode https://t.co/kmgKBD72uq

Giuliano Liguori (@ingliguori; 12686): Top 9 types of #MachineLearning algorithms, with cheat sheet https://t.co/Mk2neUBWRo via @ingliguori HT @gp_pulipaka #BigData #Analytics #DataScience #AI #IoT #PyTorch #Python #RStats #TensorFlow #Java #JavaScript #ReactJS #CloudComputing #DataScientist #Coding #100DaysofCode https://t.co/YUsCZ1Kt4W

blogdown

Women in Statistics and Data Science (@WomenInStat; 324): Looking to make a personal website? Check out this awesome book that a friend shared with me (thanks @jarrenls) on making websites in R markdown! https://t.co/xD1tC0rEiB by @xieyihui @ProQuesAsker @apreshill

CS Ducate (@csducate; 131): I have a website now! It has a normal domain name and everything. https://t.co/YalHGkj5A9 > s/o to @SolomonKurz and @apreshill on their great tutorials for getting started with blogdown in R. Saved me a lot of hair-pulling.

Khia Johnson (@khia_johnson; 100): @ctdicanio i used google sites up until i wanted to start blogging and then i did a more complicated thing, which is very similar to what @apreshill so clearly outlines in this post! https://t.co/JR9WzoFRlv

Amber Thomas (@ProQuesAsker; 82): Last time I decided to make a new site for myself, I decided to use #rstats blogdown which was mostly undocumented and in beta at the time. > This time, I’m trying something new and using TWO things that are in beta (the @NotionHQ API and SvelteKit) https://t.co/jfKho7I7Le

Philip Bulsink (@pbulsink; 72): Playing around with the R ‘blogdown’ package and this GEM of an example is included. It’s my new favourite. #rstats https://t.co/aBumoTmrV0

Benjamin Wolfe (he/him) (@BenjaminWolfe; 41): #rstats markdown #lazyweb Q: > Anyone have a working example of tabs in a #blogdown or Hugo (or other) post? I want to add them to a piece I’m collaborating on using Academic. > Happy to customize stuff as needed, just want to 👀 an example. > @llbaker1707 @grrrck @apreshill

Silvia Canelón (@spcanelon; 32): Congrats @AdithiUpadhya, on your brand new and beautiful #HugoApero #blogdown site! 🎉 #RStats https://t.co/WF3bjr30bj

Amit Arora (@aarora79; 32): Thank you @apreshill for your wonderful guide to using #hugo and #blogdown https://t.co/RNLXEYRw5S. I created a website for my book and got it up and running with custom domain from namecheap and hosting on netlify. Please see https://t.co/Isk2jrWykW. #rstats

Harald Kliems (@HaraldKliems; 20): @adam42smith @aarontay @temorrell And more recently: Distill https://t.co/yuK6hCVzSR IMHO quite a bit easier to handle than Jekyll or Blogdown.

GaboKerr (@GaboKerr; 20): @dialectrical I’m also remaking my website on netlify! But I can’t program for real, so I’m doing it blogdown.

CS Ducate (@csducate; 20): See https://t.co/h6XUeBP62C and https://t.co/iA2jGpqnxv for tutorials

Tyler Smith (@sedgeboy; 10): @bigskyalex1 @e_b_bobadilla I do the same, but have recently switched to using Zotero to manage capturing references, storing pdfs, and maintaining the .bib/.json database that gets incorporated into my documents. Works really well! > https://t.co/f1tnKq7PWS

Houston H. 💉💉🎉 Haynes (@h3techdev; 10): @angel_d_munoz @buildWithLit @FableCompiler So first of all.. this is great! (avoiding ‘fabulous’ for obvious reasons). 😉 I asked a fellow #fsharp -er if there’s a Hugo-ish static site builder in the F# ecosystem. Do you have suggestions? I’ve spent so much time in R/markdown/blogdown/Hugo that it’s my mental model.

bookdown

R posts you might have missed! (@icymi_r; 7721): 📚🧹 Inferring a Binomial Probability via Exact Mathematical Analysis | Doing Bayesian Data Analysis in brms and the tidyverse > 👤 Solomon Kurz @solomonkurz
> 🔗 https://t.co/fDVbaXzSaA #rstats #datascience https://t.co/nL4vbMSriO

Layla Bouzoubaa 🌎🇲🇦 (@Bouzoulay; 7212): FYI: this book is for all you #clinicalresearch peeps out there! by @ibddoctor , this book covers everything from #git, basic stats, sample size calculations & #dataviz ! check it and the {medicaldata} 📦 to go with it! #reproducibility is 🔑!! https://t.co/sTqyo91EGZ

Lisa DeBruine 🏳️‍🌈 (@LisaDeBruine; 295): I am loving the bs4 #bookdown style. I’ve updated #psyTeachR Data Skills for Reproducible Research and modded the style slightly for more rainbows. ❤️🧡💛💚💙💜 https://t.co/cshcQnetrj

Manuel Toral (@jmtoralc; 110): @FerValdes__ Me voy a ver muy old-school pero creo que sí vale la pena pelearse con base. Para mí el meor recurso sigue siendo https://t.co/uJ0lsxm9u6. > Para el tidyverse, nada mejor que el R4DS

Lisa DeBruine 🏳️‍🌈 (@LisaDeBruine; 93): TIL that if you want to keep all your #rstats #bookdown files in a dir that isn’t your project working directory (e.g., when making a package that contains a book), you don’t have to change wd to render if you use this code: > xfun::in_dir(“book”, bookdown::render_book())

Allie Choate (@alliemchoate; 63): Anyone know if there’s a way to preserve the bookdown::gitbook format/layout but render a single HTML file (as opposed to multiple interdependent files)? #RStats

Tom Mock 💉💉🎉 (@thomas_mock; 51): @tdawry @rstudio Honestly, I don’t use that format. > IMO the Visual Editor removes the need since there’s realtime preview. The html_notebook format is explained in link/img below. > Basically preview shows formatted output + existing code output but doesn’t execute code. > https://t.co/8oI5JONSct https://t.co/Cgt20J93XD

John Muschelli (@StrictlyStat; 44): Want “Copy Code” button in #rstats RMarkdown? You can use pkgdown or bookdown (need a whole book only as per https://t.co/Pg7eD7Ow2o). If you just have straight RMD, klippy is a pretty great drop in https://t.co/CKavUjWFec. Cool if html_document2 incorporated, but pretty awesome

Andrew Heiss, geriatric millennial (@andrewheiss; 40): @maibennett You can avoid editing the template itself if you stick the \mathfont{} stuff in a separate .tex file and then include that with YAML, like this https://t.co/JILpm0jnZO

Wei Yang Tham (@wytham88; 31): If you write in R Markdown but want to collaborate in Google Drive, you may want to check out the trackdown package. Planning to test drive it for a project soon > https://t.co/HZVNE4skMX https://t.co/nLEWmjQCzg

tidyverse tweets (@tidyversetweets; 22): set different fonts for the body and margin notes for tufte bookdown pdf #tidyverse #rstats https://t.co/xljO6OrIVs

tidyverse tweets (@tidyversetweets; 22): bookdown::gitbook toc not collapsing with Safari #tidyverse #rstats https://t.co/pSK8sYnzQh

Peter Dahlgren (@peterdalle; 22): New #RStats book online: > Beyond Multiple Linear Regression: Applied Generalized Linear Models and Multilevel Models in R by Paul Roback and Julie Legler > https://t.co/tf6uCjZesZ

H.Y. Lee (@HsienYuLee1; 20): Just found a new open-access learning resource about R programming. Thanks @rdpeng for making this! #R #DataScience > https://t.co/7mCe87qim9

Lisa DeBruine 🏳️‍🌈 (@LisaDeBruine; 20): The PDF version is still giving me headaches after 3 hours of debug, but I’ll sort it eventually. I haven’t read through the ebook versions carefully yet; they’re likely to need some formatting. > FYI - bookdown::epub_book requires you close <img /> tags or it glitches like mad.

Marc L Seal (@ParkvilleGeek; 20): Announcing bookdown v0.23 | RStudio Blog https://t.co/u6pFRhvyEi

tidyverse tweets (@tidyversetweets; 12): bookdown multi-column: html + pdf combo: pandoc fenced div syntax? #tidyverse #rstats https://t.co/eU13XdaefV

Vikram_Singh Rawat (@Guru_GyanKhoji; 12): Never thought I would say this but I used edge browser yesterday which has a feature that it can read web pages… I used it to read a book to me… Awesome ! Everything was so perfect like a purchased software… Must try for all bookdown fans like me 🙋 > #RStats

Lars Schöbitz (@larnsce; 11): @sastoudt I am so glad that I have learnt about it. Thank you! A little searching brought me to this helpful book chapter for implementation in #rstats: https://t.co/U3Uc839EwV

Yohan J. Rodríguez (@hasdid; 11): #R #Automated | Announcing bookdown v0.23 https://t.co/gbnPiPu4kb

Rafael Torres-Perez (@novoseeker; 11): Analysis of single cell RNA-seq data interesting on-line course https://t.co/oH1lEeKeAq #rmarkdown #bookdown

Tom Mock 💉💉🎉 (@thomas_mock; 10): @StatStas Thanks! I have no experience with Stata… but there is a Stata engine! > https://t.co/hSJDWxsZQh > But per that link, the {Statamarkdown} package by Doug Hemken sounds preferable? > https://t.co/NbiEzkFIgy

linguisti.cat (@linguisti_cat; 10): Tornant als jeroglífics, al mateix temple d’Esna, Egipte on es troba l’escrit dels cocodrils n’hi ha un altre amb bocs, del qual trobareu un petit anàlisi en aquest link: > https://t.co/cerzDaJ9mg > A la foto, una comparativa entre els dos textos https://t.co/XrCwIEg86I

Isabella R. Ghement (@IsabellaGhement; 10): @AadityaDar @jmwooldridge This might be of interest too: > https://t.co/SU5HwfOTE1

Hanne Oberman (@hioberman; 10): @LisaDeBruine Love it too! But I have to express that I cannot NOT read the style as bull shit 4 bookdown

Solomon Kurz (@SolomonKurz; 10): @mengliuveronica Thank you for the kind words. You can do it! But please use this link instead. The one you shared is outdated and soon to be removed. https://t.co/U6SjLKPxiM

Meng Liu (@mengliuveronica; 10): Here is the link for those who are looking for a tidyverse version too! anyone interested in reading it together, feel free to PM me!😉 44 https://t.co/h1KT16a0kj

Emilio Velis (@emilio; 10): @alliemchoate @rstatstweet You can always do the merging with rvest 😂 > But seriously, one option could be to render as a single HTML file without chapters, and a second version with chapters just to copy the ToC. See https://t.co/WSyTDPmY2m

@benavent (@Benavent; 10): @AlainGoudey @UnivParisSaclay #perso suis pas fan des #mooc, je préfère le #bookdown 100% #rstat. Embarras du choix https://t.co/xZ929regv5

Abhishek Kumar (@abkumar; 10): Geospatial Data Science With R: Applications in Environmental Geography https://t.co/5Bf3mwQmK9 #rmarkdown #bookdown [↪](https://twitter.com/abkumar/status/1429891944189087748)

Shubham Misra Fully Vaccinated 🧠 (@SBM_4007; 10): @PhD_fail For beginning R, check out the in-built “swirl()” package in R which helps u familiarise urself with the R syntax & terminologies. > Then there are several chapters on https://t.co/IPxa4HUaQo to help u learn different analyses on R with detailed theory & practical examples.

Chris Henson (@_chenson; 10): @LisaDeBruine I love bookdown! Here’s something I learned the other day. I always find the default width when you deploy to a site pretty narrow, you can change it with CSS, something like: > .book .book-body .page-wrapper .page-inner { max-width: 90%; } [↪](https://twitter.com/_chenson/status/1429446057730187265)

Jesús Vélez Santiago (@jvelezmagic; 0/2): 🙋 Does anyone in #RStats know if I can keep the pdf images inside the “_ books/” folder after rendering a book with #bookdown, or should I move them manually from “_bookdown_files/“? > Thanks in advance! 😋

tidyverse tweets (@tidyversetweets; 0/1): Is there a way to include when a file was last updated in bookdown? #tidyverse #rstats https://t.co/nGbybZ1lKt

tidyverse tweets (@tidyversetweets; 0/1): conditionally exclude some bookdown content #tidyverse #rstats https://t.co/1ZKq6tbjhg

knitr

Andrew Heiss, geriatric millennial (@andrewheiss; 758): Did you know that knitr can work with tikz chunks?! When you knit to PDF they show up just fine. When you knit to HTML they convert to SVG but any fonts you use won’t work. Here’s how to get those fonts embedded and make beautiful SVG TikZ images! #rstats https://t.co/lE3CW0mdgw https://t.co/twhfXAWKZO

DavidLawrenceMiller (@millerdl; 60): Me: arghh why does this document take so long to render > looks at knitr cache > Me: ah I am taking a product that results in a 5.5GB matrix

Eric Scott (he) (@LeafyEricScott; 21): @LisaDeBruine Huh, this isn’t working for me. Getting a “theme must be a bs_theme() object” error. Do I need a certain version of R or RStudio for this to work? {rmarkdown} and {knitr} are up to date.

Musashi Jacobs-Harukawa (@MJacobsHarukawa; 20): @travlake @ben_golub Have you tried using pandoc’s markdown in an editor like Atom? I find it to be a pretty complete and accessible solution. If you’re an R user, knitr+pandoc+RStudio is very mature.

Roberto Fortich Mesa (@RobertoCarlosF; 10): Se desapareció mi botón de hacer Knitr en RMarkdown

Stas Kolenikov (@StatStas; 10): 4b. You can read chunk using knitr::read_chunk(script.R) where the script.R would have the chunk decorating comment formatting to pass the names of the chunks, as in >

—- this-chunk-label —-

pagedown

tidyverse tweets (@tidyversetweets; 12): Link chrome to Rstudio for pagedown (Rmarkdown) #tidyverse #rstats https://t.co/KlbNkVAoMh

xaringan

Irene van den Broek (@JeBentWatJeMeet; 275): Slides of my #rmedicine2021: https://t.co/KkgPyPlPSq > My first slide deck with {#xaringan} 📦 in #rstats: this will save me so much time in the future!

Omar Wasow (@owasow; 167): Dear #rstats hivemind: has anyone used R Markdown — specifically Xaringan — with non-stats students? For a poli-sci class, I’d like students to present using a format that I or future students might easily revise. I’d much prefer Xaringan to PPT but also want to be realistic.

Jamie Montgomery (@jamiecmonty; 40): Some of these groups just learned about xaringan this morning and…are using it!? 😲 Amazing.

Ariel Mundo (@amundortiz; 30): Also, huge thanks to @spcanelon (for the #xaringan theme that I tweaked for my talk) and @apreshill, who shared with Twitter the Atkison Hyperelegible font (which I used and is the best!) https://t.co/bElFRI89bC
(and yes, both were added to the “Acknowledgments” slide)

Omar Wasow (@owasow; 20): @JaeJaeykim2 @apreshill Yes! Am in awe of @apreshill Xaringan design skills. Would not be an exaggeration to say that more than half of my slides are built from templates she’s shared. Very grateful. 🙏🏽

Chris Beeley 👩‍🌾💃🎸📦🧙‍♂️ (@ChrisBeeley; 11): * Internal R package * RMarkdown and flexdashboard * xaringan (@DataScienceNott and @Letxuga007 love this!)

Alex Borges (@aborges_alex; 10): @owasow Id go with whatever rstudio delivers by default in its “new project” selections. If xaringan is there, then that, but there are other toolkits for rmd-html presentations that might be easier to set as requirement and are tested by rstudio.

Liz Hare PhD 😷 (@DogGeneticsLLC; 10): @ERDonnachie @jsavinc PowerPoint is getting better as long as people use the accessibility checker. But I’m learning Xaringan because the slides are so much easier for me to read. And I will have to convert to PPT to meet requirements for an upcoming conference.

Liz Hare PhD 😷 (@DogGeneticsLLC; 10): @ERDonnachie @jsavinc Actually the HTML output from Xaringan slides is very accessible and doesn’t rely on the reader having PowerPoint. So I totally recommend markdown— just please don’t distribute them as PDFs.

BHSci_, Python, R & Graphical Art 🦄🇨🇦🌈 (@StarTrek_Lt; 10): first time testing xaringan slides, no wonder they are so popular with the cool peeps in data science

Fred Easey (@poppa_f; 10): @econosopher @bennstancil I’ve never actually tried it, but heard good things about the xaringan suite of packages on R https://t.co/cJ4TAp2Zqz

Jason Geller (@jgeller_phd; 10): Folks using Xaringan and need different outputs use this: https://t.co/8ePdiBaxIP

Cameron Wimpy (@camwimpy; 0/2): #RStats @rstatstweet @rstats4ds folks, do you use xaringan for all presentations or only those using code/output?

yihui.name

Joel Gombin (@joelgombin; 10): This blogpost deals a bit with this issue even though it is not its central question https://t.co/or9fnTdO1S