On Wed, Oct 27, 2010 at 8:04 AM, Manta wrote:
>
> Here it is:
>
> dput(temp_plot)
> structure(c(48608, 46686, 55216, 59268, 50967, 55067, 57783,
> 60021, 61480, 63853, 58267, 72442, 63926, 49102, 74320, 63433,
> 66256, 68483, 67736, 60507, 60888, 78008, 64326, 65665, 57288,
...
> 1L, 1L, 1L, 1L
Here it is:
dput(temp_plot)
structure(c(48608, 46686, 55216, 59268, 50967, 55067, 57783,
60021, 61480, 63853, 58267, 72442, 63926, 49102, 74320, 63433,
66256, 68483, 67736, 60507, 60888, 78008, 64326, 65665, 57288,
54663, 54984, 54073, 59632, 52523, 55266, 54836, 61408, 53813,
85855, 65204, 6
On Wed, Oct 27, 2010 at 7:33 AM, Manta wrote:
>
> This is the output, thanks again for the help!
>
> structure(c(48608, 46686, 55216, 59268, 50967, 55067, 57783,
> 60021, 61480, 63853, 58267, 72442, 63926, 49102, 74320, 63433,
> ...
> 55337, 54919, 63230, 57756, 80296, 58319, 56993, 59161, 56184,
This is the output, thanks again for the help!
structure(c(48608, 46686, 55216, 59268, 50967, 55067, 57783,
60021, 61480, 63853, 58267, 72442, 63926, 49102, 74320, 63433,
...
55337, 54919, 63230, 57756, 80296, 58319, 56993, 59161, 56184,
65331, 56179, 61115, 59874, 85050), index = structure(li
On Wed, Oct 27, 2010 at 6:23 AM, Manta wrote:
>
> Ok, so you may be right, but I do not understand why ;)
>
> The commands you suggested are applied to temp_plot, where temp_plot is a
> 'zoo' object as follows (there is actually something strange in here, if I
> just want to see the whole object I
Ok, so you may be right, but I do not understand why ;)
The commands you suggested are applied to temp_plot, where temp_plot is a
'zoo' object as follows (there is actually something strange in here, if I
just want to see the whole object I do not get the warning message that I
got when selecting
On Tue, Oct 26, 2010 at 12:56 PM, Manta wrote:
>
> Thanks for your help Gabor. That would be exactly what I am looking for. If I
> use your code I get the nice representation I am looking for. However, when
> I try to apply the code in the same fashion to my case, it does not produce
> the x-axis.
Thanks for your help Gabor. That would be exactly what I am looking for. If I
use your code I get the nice representation I am looking for. However, when
I try to apply the code in the same fashion to my case, it does not produce
the x-axis. I believe the problem hinges on the following warning me
Wonderful!
Thanks a lot for your help, super appreciated!
--
View this message in context:
http://r.789695.n4.nabble.com/Chron-object-in-time-series-plot-tp3002285p3012793.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-proj
On Mon, Oct 25, 2010 at 4:12 PM, Manta wrote:
>
> I apologize for not being very precise. I meant the tick marks on the x-axis.
>
> As for the code, the situation is just the one describe above, just that I
> would like to be able to specify the tick marks (say every 3 or 6 months).
Using z and z
I apologize for not being very precise. I meant the tick marks on the x-axis.
As for the code, the situation is just the one describe above, just that I
would like to be able to specify the tick marks (say every 3 or 6 months).
--
View this message in context:
http://r.789695.n4.nabble.com/Chro
On Mon, Oct 25, 2010 at 3:48 PM, Manta wrote:
>
> My bad! What I meant is that I want to plot the whole series, but the legend
> in the x-axis would only present some specific months depending on the
> window I want to choose, say 6 months. At the moment, it only present 2008,
> 2009 and 2010.
>
My bad! What I meant is that I want to plot the whole series, but the legend
in the x-axis would only present some specific months depending on the
window I want to choose, say 6 months. At the moment, it only present 2008,
2009 and 2010.
Thanks
--
View this message in context:
http://r.789695.
On Mon, Oct 25, 2010 at 3:01 PM, Manta wrote:
>
> I would like to thank you all for the help given so far!
>
> I have the following object of the class 'zoo'
>
>> temp_mean_plot[31:35]
> 2008-02-13 2008-02-14 2008-02-15 2008-02-18 2008-02-19
> 14.86834 14.89609 14.89358 14.87610 14.87652
I would like to thank you all for the help given so far!
I have the following object of the class 'zoo'
> temp_mean_plot[31:35]
2008-02-13 2008-02-14 2008-02-15 2008-02-18 2008-02-19
14.86834 14.89609 14.89358 14.87610 14.87652
The sample runs from Jan 2008 to July 2010. How can I sp
On Wed, Oct 20, 2010 at 11:08 AM, Manta wrote:
>
> Sorry R community, I am still stucked wit this. How can avoid the x-limit
> error?
If the problem is that you wish to create and plot an hourly series at
12 successive hours starting at 7am then here are three ways depending
on whether we wish to
Well, I was listening, but the error was due to the extra function 'format'.
Without that, it works perfectly.
Thanks for the help,
Marco
--
View this message in context:
http://r.789695.n4.nabble.com/Chron-object-in-time-series-plot-tp3002285p3004177.html
Sent from the R help mailing list arch
tim)
plot(test)
Rob
--
From: "Manta"
Sent: Wednesday, October 20, 2010 10:08 AM
To:
Subject: Re: [R] Chron object in time series plot
Sorry R community, I am still stucked wit this. How can avoid the x-limit
error?
--
View this message i
Sorry R community, I am still stucked wit this. How can avoid the x-limit
error?
--
View this message in context:
http://r.789695.n4.nabble.com/Chron-object-in-time-series-plot-tp3002285p3004070.html
Sent from the R help mailing list archive at Nabble.com.
__
Thanks Phil, it is exactly what I was looking for.
David, I took into account how to make valid math operations, so I
understand your concern about it.
I will definitely change all my scripts and functions to considered the time
as character, but as I need a clear output soon (deadline is close)
On Oct 19, 2010, at 1:30 PM, Phil Spector wrote:
The following will create a POSIXlt object using the current date:
strptime(sprintf('%06d',breaks),'%H%M%S')
[1] "2010-10-19 07:00:00" "2010-10-19 07:15:00" "2010-10-19 07:30:00"
[4] "2010-10-19 07:45:00" "2010-10-19 08:00:00" "2010-10-19 08:1
The following will create a POSIXlt object using the current date:
strptime(sprintf('%06d',breaks),'%H%M%S')
[1] "2010-10-19 07:00:00" "2010-10-19 07:15:00" "2010-10-19 07:30:00"
[4] "2010-10-19 07:45:00" "2010-10-19 08:00:00" "2010-10-19 08:15:00"
[7] "2010-10-19 08:30:00" "2010-10-19 08:45
I do not think that importing the time as character will help me, as I need
to perform several operation with them. Again, maybe I am not able to
express clearly enough. Let's just focus on this series:
> breaks
[1] 7 71500 73000 74500 8 81500 83000 84500 9 91500
93000 94
On Oct 19, 2010, at 12:19 PM, Manta wrote:
David Winsemius wrote:
You seen to be under the mistaken impression that the internal
representation of DateTime classes of 08:00 would be 8. Since the
internal representation of time is in seconds, the even number hours
would be at integer mu
David Winsemius wrote:
>
>
> You seen to be under the mistaken impression that the internal
> representation of DateTime classes of 08:00 would be 8. Since the
> internal representation of time is in seconds, the even number hours
> would be at integer multiples of 60*60. In addition
On Oct 19, 2010, at 11:25 AM, Manta wrote:
Dear R users, I have the following script to create bins of
specified time
intervals
bin_end=60/bin_size
bin_size=bin_size*100
h=seq(07,18,by=1)
breaks=c()
for (i in h)
{
for (j in 0:(bin_end-1))
{
Dear R users, I have the following script to create bins of specified time
intervals
bin_end=60/bin_size
bin_size=bin_size*100
h=seq(07,18,by=1)
breaks=c()
for (i in h)
{
for (j in 0:(bin_end-1))
{
value=i+(bin_size)*j
b
27 matches
Mail list logo