It’s almost too easy!
#rstats
H/T @boti_ka
This Post is from an account that no longer exists. Learn more
FakeR retweeted
Final.r
Final2.r
FinalForReal.r
ThisIsReallyFinal.r
FinalVersion3.r
FinalSubmit.r
FinalSubmitCorrected.r
FinalSubmitCorrected2.r
Final_WhyAmILikeThis.r
...
Untitled36Draft.r
...also works with paper revisions.
DID YOU KNOW?
The predict() function is a generic S3 function with methods for linear models, the weather, and presidential elections. It just works!!!
Try:
predict(weather, day="tomorrow")
or
predict(2020, PRESIDENTIAL=TRUE)
#rstats
DID YOU KNOW?
in @rstudio you can use CTRL + SHIFT + M to generate and display a random meme #rstats meme?
#AcademicChatter #phdchat #AcademicTweeps #AcademicTwitter
DID YOU KNOW?
in @rstudio you can use CTRL + SHIFT + M to generate and display a random meme #rstats meme?
#AcademicChatter #phdchat #AcademicTweeps #AcademicTwitter
Too many variables clogging up your #rstats workspace?
Use the blastMyCache() function to clear all variables in the global environment!
Use with caution!!!!!
#mbmbam #AcademicChatter #phdlife #PHDchat
So many useful #rstats and general coding books out there. Here are just a few....
#PHDchat #AcademicTwitter #AcademicChatter
ARE YOU STUCK? CAN'T MAKE #RSTATS COOPERATE?
The writeMyCode() wrapper function compares your code with @StackOverflow and uses a deep learning algorithm to replace your mangled attempt with the correct code!
It's so easy!
#AcademicTwitter #AcademicChatter #phdchat #phdlife
DID YOU KNOW?
in @rstudio you can use CTRL + SHIFT + M to generate and display a random meme #rstats meme?
@rstatsmemes
DID YOU KNOW?
You can use the carrot emoji 🥕 interchangeably with the ^ symbol when raising a number to an exponent in #rstats?
2 🥕 2 == 4
[1] TRUE
#itscalledmath #AcademicTwitter #phdchat
DID YOU KNOW?
in @rstudio you can use CTRL + SHIFT + M to generate and display a random meme #rstats meme?
@rstatsmemes @hadleywickham #tidyverse #ggplot2 #phdchat #AcademicTwitter #AcademicChatter
DID YOU KNOW?
in @rstudio you can use CTRL + SHIFT + M to generate and display a random meme #rstats meme?
@rstatsmemes @hadleywickham #tidyverse #ggplot2
DID YOU KNOW?
in @rstudio you can use CTRL + SHIFT + M to generate and display a random meme #rstats meme?
@rstatsmemes @hadleywickham #tidyverse #ggplot2
DID YOU KNOW?
in @rstudio you can use CTRL + SHIFT + M to generate and display a random meme #rstats meme?
@rstatsmemes
having a tough day? Try the puppyPlot() function in base #rstats. To recreate this plot use:
puppyPlot(cuteness=12/10, floof=FALSE, buddy=TRUE, pounceOnBuddy=TRUE, chewStick=TRUE)
#AcademicTwitter #AcademicChatter #phdlife #phdchat
use the wwhd() wrapper function (what would Hadley do?) from the tidyverse to translate your pseudo-code comments into actual R code written by @hadleywickham #rstats
example:
wwhd(
# split dataframe by factor
# run random forest
# combine results
# beautiful faceted plot
)
use ¯\_(ツ)_/¯ to access the help file for any function.
for example:
¯\_(ツ)_/¯hist opens the help file for the hist() function in the graphics package.
#rstats #AcademicChatter #academictwitter #phdlife #phdchat
3
one of the lesser-known assignment emoji is the down arrow on top of the fire emoji, which removes unneeded variables by sending them straight to hell!
x ⬇️
🔥
#rstats #phdchat #AcademicChatter














