Taking My First Steps Into The Amazing World Of R Programming

HUGE Shout-out to the R-Ladies Sydney:

  • I have learned SO MUCH with you

  • Your lessons have been very helpful!

‘Honoring the theme followed throughout the RYouWithMe lessons with a cool movie’

‘Beachbug data!’

‘Source:’

GIPHY (https://giphy.com/)

Science is Amazing
Science is Amazing

Sharing some of the many great skills taught in their lessons:

Load Packages

library(tidyverse)
library(here)
library(ggbeeswarm) 
library(RColorBrewer)

Read in beaches data

rain_temp <- read_csv(here("data/sydney_beaches", "rain_temp_beachbugs.csv"))

rain_temp_novo <- mutate(rain_temp, log_beachbugs = log(beachbugs))
 
rain_temp_novo %>%
  na.omit() %>%
  mutate(log_beachbugs = log(beachbugs)) %>%
  filter(log_beachbugs > 2, site %in% c("Bondi Beach", "South Maroubra Rockpool")) %>% 
  ggplot(aes(x= rain_mm, y = log_beachbugs, color = temp_airport)) + 
  geom_point() + 
  geom_smooth() + 
  facet_wrap(~site)

Next Steps in the R programming world for me

OFF TO NEW ADVENTURES!!

Let’s connect!

Esteban Terzo’s LinkedIn profile

Session Information:

sessionInfo()
## R version 4.3.1 (2023-06-16)
## Platform: aarch64-apple-darwin20 (64-bit)
## Running under: macOS Sonoma 14.5
## 
## Matrix products: default
## BLAS:   /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRblas.0.dylib 
## LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0
## 
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
## 
## time zone: America/New_York
## tzcode source: internal
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
##  [1] RColorBrewer_1.1-3 ggbeeswarm_0.7.2   here_1.0.1         lubridate_1.9.3   
##  [5] forcats_1.0.0      stringr_1.5.1      dplyr_1.1.4        purrr_1.0.2       
##  [9] readr_2.1.5        tidyr_1.3.1        tibble_3.2.1       ggplot2_3.5.1     
## [13] tidyverse_2.0.0   
## 
## loaded via a namespace (and not attached):
##  [1] sass_0.4.9        utf8_1.2.4        generics_0.1.3    lattice_0.22-6   
##  [5] stringi_1.8.4     hms_1.1.3         digest_0.6.36     magrittr_2.0.3   
##  [9] evaluate_0.24.0   grid_4.3.1        timechange_0.3.0  fastmap_1.2.0    
## [13] Matrix_1.5-4.1    rprojroot_2.0.4   jsonlite_1.8.8    mgcv_1.9-1       
## [17] fansi_1.0.6       scales_1.3.0      jquerylib_0.1.4   cli_3.6.3        
## [21] crayon_1.5.3      rlang_1.1.4       splines_4.3.1     bit64_4.0.5      
## [25] munsell_0.5.1     withr_3.0.0       cachem_1.1.0      yaml_2.3.8       
## [29] parallel_4.3.1    tools_4.3.1       tzdb_0.4.0        colorspace_2.1-0 
## [33] vctrs_0.6.5       R6_2.5.1          lifecycle_1.0.4   bit_4.0.5        
## [37] vipor_0.4.7       vroom_1.6.5       pkgconfig_2.0.3   beeswarm_0.4.0   
## [41] pillar_1.9.0      bslib_0.7.0       gtable_0.3.5      glue_1.7.0       
## [45] highr_0.11        xfun_0.45         tidyselect_1.2.1  rstudioapi_0.16.0
## [49] knitr_1.47        farver_2.1.2      nlme_3.1-165      htmltools_0.5.8.1
## [53] labeling_0.4.3    rmarkdown_2.27    compiler_4.3.1