similar to: HMisc describe -- error with dates

Displaying 20 results from an estimated 2000 matches similar to: "HMisc describe -- error with dates"

2004 Apr 22
3
POSIXct vs Dates
I noticed the addition of the Dates class for dates without times, in R 1.9. I am making extensive use of POSIXct at present and would like to know whether it is worth changing to Dates. What are a few of the trade-offs? Thanks, Frank --- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University
2004 Mar 04
10
"Statistiques avec R"
Dear R users, I want to share my joy with you. Please see the following excellent introduction to R "Statistiques avec R " by Vincent Zoonekynd http://zoonek2.free.fr/UNIX/48_R/all.html In paticular, you can see a lot of fascinating graphics examples of R from which you can get many hints. Soryy if this is already well-known, but the CRAN search did not show nothing with the keyword
2004 Feb 10
2
confidence-intervals in dotchart
My earlier posting should have said "dotchart", not "barchart". 1)  How does one show confidence-intervals in a "dotchart" and use rownames for labels on the y-axes?  I have looked at "plotCI" in "gregmisc" package . But it does not seem to produce something like a dotchart.  The statistic, error, upper-bound, and lower-bound are in a
2003 Dec 16
16
mailing list for basic questions - preliminary sum up
Dear R-user, I already received quite a lot of replies to this mail and like to do a preliminary sum up. A few were sceptical about the use of such a beginner mailing list. The arguments were that people starting with R will only stay subscribed for a short time until they reached the R-help "level" and therefore only beginner will teach beginner how to use R. But as far
2003 Aug 31
1
Problem installing acepack in debian
In platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major 1 minor 7.1 year 2003 month 06 day 16 language R using debian testing (latest Knoppix) I get an error when installing acepack: gcc
2004 Feb 01
5
Stepwise regression and PLS
Dear all, I am a newcomer to R. I intend to using R to do stepwise regression and PLS with a data set (a 55x20 matrix, with one dependent and 19 independent variable). Based on the same data set, I have done the same work using SPSS and SAS. However, there is much difference between the results obtained by R and SPSS or SAS. In the case of stepwise, SPSS gave out a model with 4 independent
2003 May 19
2
upData levels in Hmisc
Dear listserve members, especially Prof. Harrell: I am trying to create a factor variable that has fewer levels than the original. I have a factor: >rosa$risk1 [1] 2 2 5 1 ... [1799] 3 3 1 3 1 6 3 3 1 5 3 5 3 3 3 0 3 3 3 1 1 3 Levels: 0 1 2 3 4 5 6 8 But when I do this: rosa2 <- upData(rosa,
2008 Sep 29
1
describe function in package Hmisc and function format.dates in chron (PR#13087)
Full_Name: Kem Phillips Version: 2.7.1 (2008-06-23) OS: Windows Xp professional Submission from: (NULL) (98.221.200.108) The Hmisc function describe fails, giving the error message: Error in formatDateTime(dd, atx, !timeUsed) : could not find function "format.dates" Loading the chron package, where function dates apparently resides, does not fix the problem. Note
2003 Nov 26
6
FDA and ICH Compliance of R
Does anybody know if R is FDA or ICH (or EMEA...) compliant? AFAIK S-Plus is but that means nothing... -- Trebate bolji pristup internetu? Nazovite IskonInternet na 0800 1000 ili pogledajte http://www.iskon.biz/individualni/usluge/dialup/
2011 Aug 30
3
having trouble extracting week from chron object
Running R 2.13.1 on Windows XP. I would like to get week of the year (1-52) for each date. library(chron) dts <- dates(c("02/27/92", "02/27/92", "01/14/92","02/28/92", "02/01/92")) dts dts.chron <- as.chron(dts) dts.chron class(dts.chron) # all of these component extractions work: months(dts.chron) weekdays(dts.chron) years(dts.chron)
2013 May 01
3
Chron format question h:m not working
R 2.12.2 on Scientific Linux 6.4 #works chron(times.="15:00:00", format=c(times="h:m:s")) #doesn't work chron(times.="15:00", format=c(times="h:m")) From chron Manual: The times format can be any permutation of "h", "m", and "s" separated by any one non-special character. The default is "h:m:s". what am I
2008 Aug 01
1
chron objects: input/output
Hi list, I have some questions regarding 1) conversion of date + time characters to chron 2) formatting chron object printing Regarding (1), Gabor's Rnews 2004 4/1 article has been indispensible, but I often work with files where dates and times are contained in a single field. In this case, I would like to control input/output of chron objects when each observation of date and time is
2004 Jan 28
5
Julian dates
Hi all, I have problems with years of dates using "chron" package. I don't understand why R by this istruction: > dates("01/02/29",out.format="d/m/year") [1] 02/Jan/2029 > dates("01/02/30",out.format="d/m/year") [1] 02/Jan/1930 reads "29" as 2029 and "30" as 1930. How could I change to read "00" to
2002 Oct 18
1
Chron problem with R 1.6.0 (PR#2181)
Full_Name: Rick Bilonick Version: 1.6.0 OS: Linux (RH 7.1) Submission from: (NULL) (12.4.226.1) Hi. I'm using Red Hat 7.1 Linux (Intel 586). I installed the 1.6.0 rpm. No problems were reported. When I tried to load the chron library: Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/usr/lib/R/library/chron/libs/chron.so":
2005 May 17
2
cumsum on chron objects
Hi, Is there some alternative to cumsum for chron objects? I have data frames that contain some chron objects that look like this: DateTime 13/10/03 12:30:35 NA NA NA 15/10/03 16:30:05 NA NA ... and I've been trying to replace the NA's so that a date/time sequence is created starting with the preceding available value. Because the number of rows with NA's following each available
2004 Mar 01
6
Find out the day of week for a chron object?
I know that this is correct: library(chron) x = dates("01-03-04", format="d-m-y", out.format="day mon year") print(x) It gives me the string "01 Mar 2004" which is correct. I also know that I can say: print(day.of.week(3,1,2004)) in which case he says 1, for today is monday. My question is: How do I combine these two!? :-) I have a
2012 Nov 27
2
Some questions about chron package..
Hello, I have questions while reviewing "chron" package(e.g.,chron.R). 1. What is the differences between 3 kinds of function definition ? 1) "name" &lt;- function(... 2) 'name' &lt;- function(... 3) name &lt;- function(... Do you know Why author used various kinds of definitions ? Is there no functional differences between them ? 2. I
2012 Jun 15
2
time zones and the chron to POSIXct conversion
Hey R folks, i found some strange (to me) behaviour with chron to POSIXct conversion. The two lines of code result in two different results, on ewith the correct time zone, one without: library(chron) as.POSIXct(chron('12/12/2000'), tz = 'UTC') as.POSIXlt(chron('12/12/2000'), tz = 'UTC') Only the code below would give me a POSIXct object with the correct time
2008 Jul 31
2
S 3 generic method consistency warning please help
I would like to include this in a package. The S3 methods on R CMD check says * checking S3 generic/method consistency ... WARNING window: function(x, ...) window.chron: function(data, day1, hour1, day2, hour2, ...) See section 'Generic functions and methods' of the 'Writing R Extensions' manual. I have looked and can not figure it out. This function is for convience. What
2004 May 26
3
is.weekend() odd behaviour
It seems is.weekend() is unsure ? # Start R 1.9.0 with --vanilla on windows xp # load package chron > table(is.weekend(sapply(1:100, function(i){Sys.sleep(0.05);Sys.time()}))) FALSE TRUE 68 32 > date() [1] "Wed May 26 11:18:56 2004" > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32