similar to: ACCESS R and dates

Displaying 20 results from an estimated 10000 matches similar to: "ACCESS R and dates"

2005 Sep 12
6
trouble with reading data from excel
I have been trying to open data that I have saved in an excel spread sheet. I saved it as a csv. Then I tried using the read.csv command. However, everytime I do this-- diseasedat<-read.csv("M:/sloan/R/disease/disease.csv", sep=, header = TRUE, fill= TRUE)-- I get an error message: Error in file(file, "r") : unable to open connection In addition: Warning message:
2005 Sep 22
1
problem with dates
I Have been trying to convert a vector of dates into julian dates using the following commands: as.date & as.numeric. I can convert a date no problem by doing the following: as.numeric (as.date ("9/21/2004")) but as soon as I try to do an entire vector I am given the following: as.numeric (as.date(date1)) Error in as.date(date1) : Cannot coerce to date format I have tried
2006 Dec 27
2
Help with histograms
I would like to make one histogram combining two value vectors. One vector has more than 50 entries and the other only has 16. Both vectors contain dates in the POSIXct format. I need to be able to highlight the 16 entries from the smaller data set. Is it possible to do this with the hist function? Which function should I use? Sloan -- _______________________________________________ Surf the
2010 Dec 31
3
survexp - example produces error
Dear All, reposting, because I did not find a solution, maybe someone could check the example below. It's taken from the help page of survdiff. Executing it, gives the error "Error in floor(temp) : Non-numeric argument to mathematical function" best regards, Heinz library(survival) ## Example from help page of survdiff ## Expected survival for heart transplant patients based
2010 Nov 11
3
Evaluation puzzle
The survexp function can fail when called from another function. The "why" of this has me baffled, however. Here is a simple test case, using a very stripped down version of survexp: survexp.test <- function(formula, data, weights, subset, na.action, rmap, times, cohort=TRUE, conditional=FALSE, ratetable=survexp.us, scale=1, npoints, se.fit,
2011 Apr 20
2
survexp with weights
Hello, I probably have a syntax error in trying to generate an expected survival curve from a weighted cox model, but I can't see it. I used the help sample code to generate a weighted model, with the addition of a "weights=albumin" argument (I only chose albumin because it had no missing values, not because of any real relevance). Below are my code with the resulting error
2024 Jun 28
1
Referencing Sys.Date to a different time zone
? Fri, 28 Jun 2024 18:52:26 +0200 Dennis Fisher <fisher at plessthan.com> ?????: > When I issue the command: > Sys.Date() > I would like to be able to obtain the value for Pacific time (which > differ for the first 9 hours of the day) By the time the value of Sys.Date() is created, it's too late to discern between Europe and Pacific time. The Date class is intended to
2006 Oct 04
2
Tabulation and missing values
I think this is one for Gabor. I don't seem to be able to find my way to an answer despite numerous rereadings of factor and table. Here is a toy example: ### Some data EthnicCode <- c("European/Other", NA, "European/Other", "European/Other", "Pacific", "European/Other", "European/Other",
2011 Apr 04
2
RODBC excel - need to preserve (or extract) numeric column names
I'm using RODBC to read an excel file (not mine!). But I'm struggling to find a way to preserve the column names that have a numeric value. sqlFetch() drops the value and calls them f1, f2, f3,... (ie field number). this is a different approach from read.csv, which will append "V" prior to the numeric column name. sqlFetch isn't so helpful. Is there a way to get the
2009 Jan 19
1
further notes on model.frame issue
This is a follow-up on my note of Saturday. Let me start with two important clarifications - I think this would be a nice addition, but I've had exactly one use for it in the 15+ years of developing the survival package. - I have a work around for the current case. Prioritize accordingly. The ideal would be to change survexp as follows: fit <- survexp( ~ gender,
2002 Aug 27
1
au audio format?
ogg123 will output to the au audio format so why doesn't oggenc accept this format as input? -- _______________________________________________ Download the free Opera browser at http://www.opera.com/ Free OperaMail at http://www.operamail.com/ Powered by Outblaze --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe
2005 Oct 13
0
[LLVMdev] Next LLVM release thoughts?
Hello Aaron, Aaron Gray wrote on 14/10/2005 at 5:50 a.m.: >> Also, it would be really nice if an official cygwin build (the >> binary) was published too. I spent quite a bit of time screwing >> with it a few months ago, and it was quite a bastard to get >> going... > I had quite a time with it too, could only get the debug version to > build as there seemed to be an
2000 Apr 05
1
problem with survexp in survival5
survexp in survival5 doesn't seem to work for me. see below: > library(survival5) Attaching Package "package:survival5": The following object(s) are masked from package:base : sort.list > library(chron) > data(ratetables) > survexp(~ratetable(year=julian(6,1,1991), + sex=1,age=35*365.24),times=(0:30)/6*365.24) Error in as.character(as.date(c(min(R[, 3]),
2007 Aug 05
2
FETCH for mailbox XXX UID XXX got too little data.
Hi Timo, I am receiving the above error in dovecot's logs, here's how it looks like: dovecot: Aug 05 19:52:19 Info: imap-login: Login: user=<XXXXXXXXXXXX>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured dovecot: Aug 05 19:53:36 Error: IMAP(XXXXXXXXXXXX): FETCH for mailbox Bulk Mails UID 32 got too little data: 9199 vs 39532 dovecot: Aug 05 19:53:36 Info: IMAP(XXXXXXXXXXXX):
2024 Jun 28
1
Referencing Sys.Date to a different time zone
R 4.3.1 OS X Colleagues Hopefully this question elicits a simple answer. I am in Europe at present. When I issue the command: Sys.Date() I would like to be able to obtain the value for Pacific time (which differ for the first 9 hours of the day), I would like the process to be automatic, regardless of where in the world I am located. Dennis Dennis Fisher MD P < (The "P Less
2002 Apr 08
1
Problem(?) in strptime() -- short version
I decided my earlier email on this topic was rather long and wordy; here's a condensed version. I am sitting at a Solaris computer in the US/Pacific timezone. I have a file of data having times that includes the following three values 2002-4-7 1:30:00 GMT 2002-4-7 2:30:00 GMT 2002-4-7 3:30:00 GMT I have not been able to find a way to correctly convert these to either of the POSIX
2002 Apr 08
1
Problem(?) in strptime()
I think the following examples illustrate the crux of the matter (version and OS info are below). The problem has to do with the transition from standard time to daylight savings time. My timezone, US/Pacific, has two parts: standard time (PST) 8 hours behind GMT and daylight savings time (PDT) 7 hours behind GMT. The transition takes place this year on 7 April at 02:00, when 02:00 is
2006 Jan 10
4
pci sata raid card
Using centos 4.2. Trying to install pci sata raid card, Pacific Digital QM-4300R10. Raid card box reads that it supports linux. raid software has rhel 4.0 dd image. I write to floppy and use linux dd to "try" install drivers on my centos 4.2. I see the card in the list that centos gives me after loading the drivers, but when I try to use them, it doesn't do anything. Nothing works.
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,
2011 Mar 01
2
Does POSIXlt extract date components properly?
I would like to use POSIX classes to store dates and extract components of dates. Following the example in Spector ("Data Manipulation in R"), I create a date > mydate = as. POSIXlt('2005-4-19 7:01:00') I then successfully extract the day with the command > mydate$day [1] 19 But when I try to extract the month > mydate$mon [1] 3 it returns the wrong month. And