Open shainatrevino opened 5 years ago
Hi @shainatrevino ,
Thanks for reviewing our codes and thanks for all your suggestions!
The problem you mentioned about the afex and emmeans also happened while others running the codes, and it seems that installing the emmeans again and re-library it solve the problem (We don't know why since we didn't get this error).
we agree we definitely need more comments and explanations! sorry for the confusions while reading our not-well-commented codes.
Best, Xi & Yufei
Thanks Shaina! Really nice review. As a bit of a clarifier, sprintf
uses "C-style" string operations. It's a little complex but basically ends up working a lot like glue::glue
instead of paste
. See here for an okay, but not great, explanation: https://www.r-bloggers.com/paste-paste0-and-sprintf/
I like the suggestion to add in a sidebar. Explaining acronyms is also definitely important.
Hi @Irisfee and @xiy1992
First off, amazing job on this project! It is clear that you both are very knowledgeable about manipulating various forms of data in R. I was very impressed! That being said, a lot of your code was above my skill level in R, so it was a little difficult for me to critically evaluate parts of your code that was very complex. I did not make any changes to your actual code, but just added in a few minor comments and noted an error message I got when trying to run the plot codes.
The strengths that I noticed:
map
in your script was a major strength. It took me a little bit to understand what was going on, but I think it is a really innovative way to usemap
for reading in data that I hadn't really thought too much about before.Things I learned from your script:
ggpubr
that is used with ggplot for additional themes, I will have to check this out because I really liked the theme elements of your plot.sprintf
before so I looked it up. Therefore, I learned that you can usesprintf
instead ofc()
for a character vector that can refer to both text and variable values at the same time.Areas for improvement:
Let me know if you have any questions about this.
Best, Shaina
@datalorax