I want to analysis a dataset that this dataset have two column date . one column based on Gregorian and another column based on Persian Calendar. now when use get weekly period for data, the exits give me analysis based on gregorian date column but i want to get analysis base on another column date.
what parameters add to function ?
dataset %>%
tq_transmute(select = adjClose,
mutate_fun = periodReturn,
period = "weekly",
type = "arithmetic")