Untitled conversation
- User
{r} library(dplyr)
stock_priceDate <- as.Date(stock_price Date, format = "%Y-%m-%d") index_bseDate <- as.Date(index_national_india Date, format = "%Y-%m-%d").....................
- Assistant
It appears there's an issue in your R code due to line breaking and variable naming. From your description, it looks like you are trying to convert the
Datecolumns in three data frames (stock_price,index_bse, andindex_national_india) into objects. However, your code has syntax errors, particularly with respect to how you're referring to the column in these data frames.