Displaying 20 results from an estimated 200 matches similar to: "ggplot2: line plot with gaps in time axis"
2009 May 06
2
rmysql query help
R HELP,
I am trying to use an R script to connect to a mysql database. I am
having a problem using a variable in the where clause that contains a
"space" in its value.
If I include the variable inside the quotes of the query - i think it is
searching for the name of the variable in the database and not the value
of the variable.
If I put it outside the quotes, then it complains
2006 Aug 08
3
params object nil in controller action
Hi All
I am trying to implement a Back to Search Results functionality, by storing
the user''s search criteria (params) in session and then reusing those
params instead of request params when user clicks on "Back to Search Results
link". here is my code
________________________________________________________________________
def search
if session[:incidentSearch].nil? or
2004 Aug 31
4
Problem with seq.dates in chron
I get faulty output from seq.dates() if I specify a length that is too
long.
For example, I ask for 129 months in the following call to the function,
but it returns
131:
> R.version.string
[1] "R version 1.9.1, 2004-06-21"
> startdatetime <- chron(dates="01/01/1995", times="00:00:00")
> beg.month.datetimes <- seq.dates(from=startdatetime,
2013 Jul 23
2
Metadata
Brendan Bolles wrote:
> Hey everyone, according to Wikipedia's 4-year-old information, there is no
> standard for putting metadata into an Ogg file.
True.
> That metadata must be
> included in the codec.
More generally, in a stream in the Ogg file.
Codecs are streams, but so are things like
Ogg Skeleton. Information about Metadata
has been collected together in the Xiph Wiki
2005 Jun 01
2
problem with chron scales in lattice
I can't get the scales parameter in xyplot of lattice to work as I
expected. I'm using R-2.1.0 and lattice 0.11-8. There should be year
labels from 1992 to 2004 for the x axis in the plot below, but instead
only a few of them appear, and in the wrong spots, as if the coordinate
system has changed after finishing with the panel function.
library(chron)
library(lattice)
# vertical grid
2005 Aug 02
1
cut.Date functionality for chron date/time objects
Hello,
I've encountered the need to cut some chron objects of the form:
R> mychron <- chron(sort(runif(10, 0, 10)))
R> mychron
[1] (01/01/70 16:36:20) (01/02/70 00:08:46) (01/03/70 16:54:49)
[4] (01/04/70 06:45:00) (01/07/70 06:21:24) (01/07/70 18:28:44)
[7] (01/08/70 00:47:05) (01/08/70 05:11:44) (01/10/70 01:07:53)
[10] (01/10/70 17:46:53)
into arbitrary (e.g. a given number
2008 Apr 17
0
Having problem with validates_presence_of fields in form when trying to also use ActiveScaffold (x-posted at ActiveScaffold group)
I have an events listing site that includes the models Event and
DateAndTime, so an event that happens more than once (like a high
school play) can have more than one date_and_time. The Event model
has_many date_and_times, and the DateAndTime model belongs_to event.
The Event model validates_presence_of two submission form variables,
the_date and the_time, and those variable values then get used
2007 Mar 19
3
R4.1: seq.POSIXt, tz="AEST" (PR#9572)
Times from seq.POSIXt come out wrong in AEST timezone around Feb 29 every
leap year before 1970 (on Windows XP).
According to help(DateTimeClasses), this is handled by "our own C code".
> x <- as.POSIXct("1968-02-27") # tz="AEST"
> x.gmt <- as.POSIXct("1968-02-27", tz="GMT")
> data.frame(
GMT=seq(x.gmt, by="day",
2009 Dec 21
1
proposal for new axis.Date/axis.POSIXct
Hi R-devel.
I've noticed a couple of quirks in the current time/date axis
functions (axis.Date, axis.POSIXct, and the equivalents in lattice).
Looking at the code, it seems like a fairly ad-hoc approach, often
using pretty() on components of the time. This is not always ideal -
for example a one-hour interval gets cut into 10-minute chunks rather
than the more natural 15-minute chunks (since
2012 Jun 07
3
embeding xml to ogg
Oleksij Rempel <bug-track at fisher-privat.net>
> On 05.06.2012 20:41, Martin Leese wrote:
...
>> On 6/5/12, Oleksij Rempel wrote:
>> || We need fallowing tags:
>> || creation datetime: seconds and time zone should be included.
>> || source host: it can be name or guid. to organise created files by
>> sources.
>> || keywords,events.
>> || date
2002 May 31
2
error in seq.POSIXt?
I am trying to extract only the winters (defined to be 01-Dec through
28-Feb) of daily data from 1948-2002. There are 90 days in each winter
season. I wrote the following code to gather the winter dates into a
single vector:
DJF <- NULL
for(year in 1949:1999) {
temp.begin <- strptime(paste("01/12", year-1, sep="/"), "%d/%m/%Y")
temp.end <-
2011 Sep 24
2
maptools::sunriset() daylight savings to stardard time change
Hello all,
After beating my head against the wall for a few hours, I give up.
I have two problems.
1. If I use seq() to generate a POSIXct series that crosses a daylight savings to stardard time change I get two values for the first day of change. The time change is Nov 6,2011. The value for Nov 7 turns into 23:00 on Nov 6, thus two values for Nov 6. (see below)
So I put a time value (noon)
2012 Jun 08
0
embeding xml to ogg
Oleksij Rempel <bug-track at fisher-privat.net> wrote:
> Ok,
> you are right, using existing technology will save time :)
What has not yet been discussed is what you
are streaming *to*. That is to say, what
software is going to receive the metadata, and
what will it do with it.
This is important because VorbisComments
can contain pretty much anything you want.
Suggestions for field
2013 Jul 23
0
Metadata
On 23 Jul 2013 15:17, "Martin Leese" <martin.leese at stanfordalumni.org>
wrote:
>
> Brendan Bolles wrote:
>
> > Hey everyone, according to Wikipedia's 4-year-old information, there is
no
> > standard for putting metadata into an Ogg file.
>
> True.
>
> > That metadata must be
> > included in the codec.
>
> More generally, in a
2007 Oct 25
1
Strange behavior with time-series x-axis
I recently called plot(x,y) where x was an array of POSIXct timestamps,
and was pleasantly surprised that it produced a nice plot right out of
the box:
z <- as.POSIXct(c("2006-10-26 08:00:00 EDT","2007-10-25 12:00:00 EDT"))
x <- seq(z[1],z[2],len=100)
y <- 1:100
plot(x,y,type="l")
The X axis had nice labels, one tick mark every other month. (Plotting
on
2003 Nov 25
0
AW: ISOdate() and strptime()
Thanks for this clarification.
I have learned in the meantime that it is necessary to be very careful when
using all these POSIX things.
As another example, here is something that made me scratch my head just
yesterday:
When I create a sequence of days that happens to start before and ends in
daylight savings time, I seem to lose a day:
> seq(from = strptime("20030329",
2004 Mar 30
1
seq.POSIXt() bug not fixed in R 1.8.1 (PR#4558)
I am still experiencing problems with seq.POSIXt() missing off the last day
of the series:
> seq(as.POSIXct("2004-03-25"),as.POSIXct("2004-03-31"),by="DSTdays")
[1] "2004-03-25 GMT Standard Time" "2004-03-26 GMT Standard Time"
"2004-03-27 GMT Standard Time"
[4] "2004-03-28 GMT Standard Time" "2004-03-29 GMT Daylight
2008 Jun 10
1
Histogram of gaps
Hi
I consider myself not a complete beginner in R, however an elegant
solution to this problem stumps me. I have a fairly long time series of
60000 or so points, I need to gather the data to create a histogram of
the length of continuous zero periods in a data set.
So image the data looks like this (where as a pre-condition all numbers
are single digit so assume commas if you which, I have the
2010 Mar 15
2
gaps in time series
hello *, im new to the list (and R in general), i have a problem that
im hoping someone can help me solve. i have data that i want to turn
into a time series per day,
ex.
2010-03-01 9
2010-03-03 17
2010-03-04 2
2010-03-05 9
2010-03-07 3
is there an easy way to fill in the gaps for the missing days?
thx much
--joe
2016 Apr 17
0
Could someone fill in the gaps in this Live CD Customization From Scratch tutorial?
https://help.ubuntu.com/community/LiveCDCustomizationFromScratch
It was vague about an isolinux configuration that actually works and the
mkisofs binary isn't in the repository of the distribution I am doing it
on (Debian 8).