Publications by Daniel Lee
Publish Document
library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.3 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ ggplot2 3.4.3 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.2 ✔ tidyr 1.3.0 ## ...
69 sym R (7105 sym/31 pcs) 1 img
Codealong3_performanceanalysis
# Load packages library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.3 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ ggplot2 3.4.3 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.2 ✔ tid...
142 sym R (5205 sym/12 pcs)
Codealong3 Reproducible Finance with R
Provide major takeaways from chapter 1 in 50 words....
55 sym
Codealong3_charting with tidyquant
R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the...
591 sym 1 img
Code Along 3
# Load packages library(tidyverse) ## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ── ## ✔ dplyr 1.1.3 ✔ readr 2.1.4 ## ✔ forcats 1.0.0 ✔ stringr 1.5.0 ## ✔ ggplot2 3.4.3 ✔ tibble 3.2.1 ## ✔ lubridate 1.9.2 �...
142 sym R (5329 sym/12 pcs)
Document
This template offers an opinionated guide on how to structure a modeling analysis. Your individual modeling analysis may require you to add to, subtract from, or otherwise change this structure, but consider this a general framework to start from. If you want to learn more about using tidymodels, check out our Getting Started guide. In this example...
3941 sym R (6056 sym/31 pcs) 5 img
DA3100 New York Times Bestsellers
Superbowl commercials: Build a regression model to predict the Youtube like count (like_count). Use the youtube dataset. Import Data youtube <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2021/2021-03-02/youtube.csv') ## Rows: 247 Columns: 25 ## ── Column specification ────────�...
651 sym R (9752 sym/30 pcs) 5 img 5 tbl
Apply 3
Import data # excel file data <- read_excel("data/myData.xlsx") data ## # A tibble: 125 × 27 ## EmployerName Emplo…¹ Address PostC…² Compa…³ SicCo…⁴ DiffM…⁵ DiffM…⁶ DiffM…⁷ ## <chr> <dbl> <chr> <chr> <chr> <chr> <dbl> <dbl> <dbl> ## 1 ABACUS EMPLO… 767 1 Cheq… RG21 7… 026383… "78...
36 sym 1 img
DATapply3
Import data # excel file beesdata <- read_excel("data/beesdata.xlsx") beesdata ## # A tibble: 1,222 × 10 ## year months state colony_n colony_max colony_lost colony_lost_pct ## <dbl> <chr> <chr> <dbl> <chr> <dbl> <dbl> ## 1 2015 January-March Alabama 7000 7000 1800 ...
35 sym 1 img