Skip to content

Instantly share code, notes, and snippets.

View kathoffman's full-sized avatar

Kat Hoffman kathoffman

View GitHub Profile
@kathoffman
kathoffman / create-cabinet
Created August 25, 2022 13:47
Code from Nick for defining a new cabinet with {cabinets}
# START A CABINET
library(cabinets)
p <- "~/Documents/work"
file_str <- list(
'data' = NULL,
'code/clean' = NULL,
'code/reports' = NULL,
@kathoffman
kathoffman / headerFunsEx.Rmd
Last active March 24, 2019 00:41
Rmd file containing a function which returns Rmarkdown-friendly output including headers for organization. Useful if you have multiple outcomes/explanatory variables/data sets that you want to report identical analyses on.
---
title: "Outputting Headers within Functions"
author: "Katherine Hoffman"
date: "3/20/2019"
output:
html_document:
toc: true
toc_float:
collapsed: false
smooth_scroll: false