Skip to content

Instantly share code, notes, and snippets.

View sergiouribe's full-sized avatar
🏠
Working

Sergio Uribe sergiouribe

🏠
Working
View GitHub Profile
@sergiouribe
sergiouribe / coding_good_practices.md
Last active January 10, 2025 07:21
Code Reproducibility Good Practices

R Code Reproducibility Good Practices

Minimal Rules

  1. Organize Your R Analysis Using Projects in Rstudio
    • Ensure at least three folders exist: code, data, and figures.
    • Tip: use analysistemplates package

      remotes::install_github("jonas-hag/analysistemplates")

  2. Use {here} and Avoid setwd
@sergiouribe
sergiouribe / normcore-llm.md
Created August 31, 2023 08:21 — forked from veekaybee/normcore-llm.md
Normcore LLM Reads
library("shiny")
library("ggplot2")
n_obs <- 500L
## Define UI for application that draws a histogram
ui <- fluidPage(
## Application title
titlePanel("Visualizing Raw Data vs Residuals"),