Inspiration
We want this to be a cool place for us to show off BDB submissions.
Latex Equations
In-line equations \(\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}\)
Display Math Mode, Testing Matrix in Latex $$\mathbf{A}\mathbf{x} = \begin{pmatrix} a_{11} & a_{12} \ a_{21} & a_{22} \end{pmatrix} \begin{pmatrix} x_1 \ x_2
\end{pmatrix}
\begin{pmatrix} a_{11}x_1 + a_{12}x_2 \ a_{21}x_1 + a_{22}x_2 \end{pmatrix}$$
Code snippet Test
library(cfbfastR)
library(dplyr)
# Get team information for a specific season
teams_2023 <- cfbd_team_info(year = 2023, only_fbs = TRUE)
# Get game results for a team
georgia_games <- cfbd_game_info(year = 2023, team = "Georgia")
# Calculate win percentage
georgia_record <- georgia_games %>%
mutate(win = ifelse(home_team == "Georgia",
home_points > away_points,
away_points > home_points)) %>%
summarise(
games_played = n(),
wins = sum(win),
win_pct = wins / games_played
)
Log in or sign up for Devpost to join the conversation.