Displaying 20 results from an estimated 1100 matches similar to: "Help with adding minutes to time"
2012 Jun 20
2
reshape
Hello, helpeRs,
I am attempting to reshape (either base R or package reshape) multiple .csv
spreadsheets from a very unfortunate wide format to long format. ?Each spreadsheet
looks something like this, after being read in to R:
toy <- data.frame(year = rep(2007:2008,each = 20), month = rep(1:5,each = 4, length = 40),
day = rep(1:2,each = 2,length = 40), hhmm = rep(1100:1101,length = 40),
2004 Nov 26
2
barplot(2?) with CI from a zero reference line
Dear R Users, (and dear Marc)
First of all many thanks for the answers to my previous questions.
I would like to barplot the mean percent change of a variate with it's
CI. Bars should start from the zero reference line to height (in
barplot2).
Is there a way to tweak barplot2, for example, to do that ?
I have tried to see what the function was but unlike other functions was
not able to
2009 Mar 13
2
Using format to add leading zeroes
I have a numerical vector which contains a (poorly) formatted time
column, which, in theory, should be HHMM, but was distributed as an
integer, so, for 12:15 am, it is saved as "15" (e.g. HHMM = 0015 with
the zeroes stripped). I'm trying to use this in conjunction with
strptime, but I'm thinking because each time is an integer ranging from
1 to 4 digits, I probably need to
2024 Oct 14
1
Warning object has offset 0. PDF file
? Sun, 13 Oct 2024 12:45:36 +0200
"Jean-Louis Abitbol" <abitbol at sent.com> ?????:
> WARNING:
> /Users/jla/Library/CloudStorage/Dropbox/7cordas/Caio/record/90 NEW
> RODA SONG BOOK.pdf (object 254 0): object has offset 0
>
> This does not prevent from getting the pages extracted properly and
> written to a pdf file which is readable.
> How can I detect and
2008 Oct 09
1
Error when reading a SAS transport file
Dear All,
I get the following error when using either SASxport or Hmisc to read an
.xpt file:
> w <- read.xport("D:/consult/Trophos/dnp/base/TRO_ds_20081006.xpt")
Erreur dans factor(x, f$value, f$label) :
invalid labels; length 15 should be 1 or 14
> z<- sasxport.get("D:/consult/Trophos/dnp/base/TRO_ds_20081006.xpt")
Erreur dans factor(x, f$value, f$label) :
2004 Nov 21
3
Help with ooplot(gplots) and error bars
Dear All
I am trying to graph a proportion and CI95% by a factor with ooplot (any
other better solution ?)
It works well until I try to add the confidence interval.
this is the error message and and a description of the data:
> dat1
PointEst
TT1 1 3.6
TT2 2 5.0
TT3 3 5.8
TT4 4 11.5
TT5 5 7.5
TT5 6 8.7
TT7 7 17.4
> dat2
2006 Mar 11
1
Layout, xyplot and saving in file
Dear all,
I am trying to use layout with xyplot and save the plot in a file.
The saved file contains only the last panel (used jpg, wmf and pdf
options in the savePlot function)
I am not familiar with the graphic file formats and don't know if they
can handle multipage output.
If not do I need to loop by ndose in the following script ?
Here is my script:
2024 Oct 13
1
Warning object has offset 0. PDF file
Good day to all
Using
> library(pdftools)
Using poppler version 23.04.0
I get a number of warnings such as:
> pdf_subset(infile, pages = 156:157, output = outfile)
WARNING: /Users/jla/Library/CloudStorage/Dropbox/7cordas/Caio/record/90 NEW RODA SONG BOOK.pdf (object 7 0): object has offset 0
WARNING: /Users/jla/Library/CloudStorage/Dropbox/7cordas/Caio/record/90 NEW RODA SONG BOOK.pdf
2004 Oct 01
2
Background color Windows device (newbie)
Dear R Gurus
Just started on R !
Using xYplot from Hmisc (R 1.9, W2K) I get a grey/blue background that I
would like to change to white (ie no background) or may be to another
color.
Tried to do that with par(bg) but only changed the color of the trellis
heading.
What's the right command to do that ?
Kind regards, JL
PS if anyone has nice default settings for win device please let me
2013 May 02
3
R issue with unequal large data frames with multiple columns
I'm a bit of an amateur R programmer. I can do simple R scenarios but my
handle on complex grammatical issues isn't steady.
I have 12 CSV files that I've read into dataframes. Each has 8 columns and
over 2000000 rows. Each dataframe has data associated by time component
and a date component in the format of:
X.DATE and then X.TIME
X.DATE is in the format of MMDDYYYY and X.TIME is
2006 Jul 13
6
Webservices Xml-Rpc and authentication
Hello,
I want to build an application where i have client and server. I need to exacute
commands with XM-RPC. I can get all this working, following the howto''s in wiki and main
website.
But the problem is they are all unsecure. I can''t seem to find any web service examples
where they use authentication, or ssl.
Just wondering if anyone know how i go about doing this.
At the
2011 Mar 24
5
subset and as.POSIXct / as.POSIXlt oddness
Dear R users,
Given this data:
x <- seq(1,100,1)
dx <- as.POSIXct(x*900, origin="2007-06-01 00:00:00")
dfx <- data.frame(dx)
Now to play around for example:
subset(dfx, dx > as.POSIXct("2007-06-01 16:00:00"))
Ok. Now for some reason I want to extract the datapoints between hours
10:00:00 and 14:00:00, so I thought well:
subset(dfx, dx >
2007 Oct 11
13
ANNOUNCE: Xen 3.1.1 released!
I''m pleased to announce the availability of Xen 3.1.1 -- a bugfix release in
the Xen 3.1 series. Many bugs, large and small, are fixed by this release
and we recommend that all users and vendors upgrade.
The source repository is available using mercurial from:
http://xenbits.xensource.com/xen-3.1-testing.hg
Binary packages have not yet been prepared for this release.
Thanks to
2007 Oct 11
13
ANNOUNCE: Xen 3.1.1 released!
I''m pleased to announce the availability of Xen 3.1.1 -- a bugfix release in
the Xen 3.1 series. Many bugs, large and small, are fixed by this release
and we recommend that all users and vendors upgrade.
The source repository is available using mercurial from:
http://xenbits.xensource.com/xen-3.1-testing.hg
Binary packages have not yet been prepared for this release.
Thanks to
2007 Apr 19
1
Error with strptime
Dear All,
I am trying to convert to POSIXct after pasting a date and a time in
character format with strptime.
It is probably obvious but I don't understand why I get an error message
after
bsamp$spltime<-strptime(test,format="%d-%B-%y %H:%M")
whereas I can get what I want if I do it in 2 steps and rbinding ?
Thanks and best regards, Jean-Louis
This is the R console output
2006 Feb 26
1
assigning differences in a loop
Dear All
I would need to generate differences between variates such as
nam1<-nam2-nam3 in the following loop:
for(i in c("13","26","38")) {
for (j in c("HR","PQ","QRS","QT")){
nam1<-paste("d",j,i,sep="")
nam2<-paste(j,i,sep=".")
2012 Nov 28
2
hhmm time format, strptime and %k
Hello,
I am having trouble with the conversion specifications as described in
the strptime help page.
> head(dat)
Date Time Open High Low Close Up Down Volume
1 11/19/2012 935 137.89 138.06 137.82 138.05 3202541 3013215 0
2 11/19/2012 940 138.04 138.40 138.02 138.38 2549660 2107595 4657255
3 11/19/2012 945 138.38 138.40 138.18 138.19 1627379 1856318 3483697
4
2017 Apr 05
7
Timezone and date
When I do the date +%Z I get the timezone. Which currently is EDT.
I am sending information to another system, that says EDT is not a valid
timezone. I have no way to modify the other system.
My question is - is there a way to get the non-day-lite savings time zone ?
For example EST is valid - EDT is not.
Just curious if there is an easy way already present to get a standard time
zone.
Thanks,
2004 Nov 16
1
Adding mean and SEM in Hmisc ecdf
Dear R Gurus,
Sorry if this has been asked before but I did not find it in the
archives.
I would like to add a horizontal display of mean and SEM on Hmisc ecdf
plots done by group (ie variate~treatment).
Has anyone written some code to do that ?
Thanks and kind regards,
Jean-Louis
2010 Jun 03
3
reformat time from hhmm
Hi,
I'm newish to R, a recent convert from Matlab... So far I'm impressed, and
determined to solve the following problem, which seems like it should be
easy:
I have a long (millions of points) data series recorded with a datalogger
that produced a timestamp in 4 columns: Year, Day of Year, Time in (H)HMM
and Seconds. I would like to have R interpret these columns as a time
object and have