Hi Jim,
Thank you so much. It worked. I got the exact solution which i was looking
for.
I am grateful to you for your help
With sincere regards,
Upananda
On Sun, Dec 25, 2022 at 3:48 AM Jim Lemon wrote:
> Hi Upananda,
> First, the date sequence you are using doesn't match the dates you
> spec
Hi Upananda,
First, the date sequence you are using doesn't match the dates you
specify in your post. The code below may give you what you want:
# make up some prices
price<-c(seq(60,25,length.out=25),seq(25,70,length.out=54))+rnorm(79)
pricet <- ts(price, start = as.Date("2020-01-27"),end=as.Date
https://stackoverflow.com/questions/49679699/time-series-plot-change-x-axis-format-in-r
Is as good a solution as possible using ts I think.
On Sat, 24 Dec 2022, 18:58 Upananda Pani, wrote:
> Dear All,
> I have the data set with daily dates (5-days trading in a week) and price
> data. I want
Dear All,
I have the data set with daily dates (5-days trading in a week) and price
data. I want to change the x axis labels to the plot. I am using ts.plot
function to plot my data. My data spans from 2020-01-27 to 2021-07-30. I
want to change it to D-M-Y first. Then I want to show all the date
4 matches
Mail list logo