Skip to content
/ RLAB Public

R for Lifestyle and Brain Health

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

bhelsel/RLAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RLAB

R-LAB (R for Lifestyle and Brain Health) is a collaborative learning space designed for early career researchers (ECRs) with a shared interest in lifestyle interventions, brain health, Alzheimer’s disease, and Down syndrome. The lab focuses on advancing applied R programming skills relevant to real-world data challenges in health research.

Through hands-on workshops, code walkthroughs, and peer-driven projects, R-LAB empowers ECRs to go beyond basic statistical routines and build confidence in data wrangling, visualization, reproducible reporting, and advanced modeling techniques—all within the context of lifestyle and neurodegenerative research.

The goal of R-LAB is to foster a supportive community where emerging scientists can sharpen their programming skills, enhance their research rigor, and accelerate their contributions to the field.

Installation

You can install the development version of RLAB from GitHub with:

# install.packages("devtools")
devtools::install_github("bhelsel/RLAB")

Render a Presentation

To render a presentation, there is a utility function called render_presentation

library(RLAB)
# Set your output directory to the location you want the presentation stored
# The function will create the folder if it does not exisit
outpath <- "full/path/to/your/output/directory"
render_presentation(outdir = outpath, name = "02")

The name argument uses matching via regular expressions, so it can be 02 or the full name 02-AdvR-Names-Values.

The list of completed presentations include:

  • 01-R-Basics
  • 02-AdvR-Names-Values
  • 03-AdvR-Vectors
  • 04-AdvR-Subsetting
  • 05-AdvR-Control-Flow
  • 06-AdvR-Functions
  • 07-AdvR-Environments
  • 08-AdvR-Conditions
  • 09-AdvR-Functionals

Hex Sticker

This is code used to generate and download the Hex sticker after the package is installed. Change the file name if you want to save it in a different location

hexSticker::sticker(
  system.file("images/brain.png", package = "RLAB"),
  s_x = 1,
  s_y = 0.9,
  s_width = 0.65,
  s_height = 0.65,
  package = "RLAB",
  p_size = 40,
  p_y = 1.5,
  filename = "man/figures/RLAB.png",
  h_color = "#2a5dab",
  h_fill = "#3E3D55",
  p_color = "#fed707",
  p_family = "sans",
  p_fontface = "bold",
  url = "https://www.github.com/bhelsel/RLAB",
  u_color = "#fed707",
  u_family = "sans",
  u_size = 8.75,
  dpi = 600
)

About

R for Lifestyle and Brain Health

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •