I have 5 years stock closing price of company almost every data with some missing values in between having 1443 data points,when i create time-series object in R with frequency 365 it creates 1834 data points.
How do I impute missing values in original data for missing values? Or is there any way in R to account for missing values and only create ts values for 1443 data points which are present?
R command used:
st_ts = ts(stocks[,2],
start = c(2010,1),
end = c(2015,9),
frequency = 365)