Advertisement
Guest User

TidyQuant Pivot_table Error

a guest
Apr 3rd, 2020
360
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Row (Tidy/Long) Format
  2. stock_data_tbl %>%
  3.     pivot_table(
  4.         .rows = c(symbol, ~ YEAR(date), ~ MONTH(date)),
  5.         .values = ~ PCT_CHANGE_FIRSTLAST(adjusted)
  6.     )
  7.  
  8. Error in is_call(expr, paren_sym) : argument "expr" is missing, with no default
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement