Code
::p_load(tidyverse)
pacman
# 株式データの読み込み
<- read_csv("../simulation_data/ch05_stock_data.csv") stock_data
Rows: 95040 Columns: 9
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
dbl (9): year, month, month_ID, firm_ID, stock_price, DPS, shares_outstandin...
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.