search for: tmurph6

Displaying 9 results from an estimated 9 matches for "tmurph6".

Did you mean: tmurphy
2003 Nov 11
4
HMisc describe -- error with dates
Hello, I am trying to use HMisc describe on a data frame. I have specified certain variables as dates using, for example: df1$aidsdate <- dates(aidsdate,format="day.mon.year", origin=c(month = 1, day = 1, year = 1960)) When I use describe on the dataframe I get this error: Error in Ops.dates(weights, x) : * not defined for chron objects Has anyone had this problem? I had
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,
2003 Mar 28
0
HTML help pages unreadable
Hello all, The help pages for R (and Perl, too) are often unreadable. Has anyone had this problem? I am using MS IE on Windows 95 as my web browser. Do I need to download a font or something? Thanks for your time! Tanya Murphy
2003 Apr 24
0
Plotting frequencies as a tree diagram
Hello, I would like to plot the frequencies of a bunch of categorical variables--the results of a cross-tabs, I guess--as a tree diagram. I've been playing with the tree package, but I don't want to estimate or predict anything--I don't have a response variable. I just want to show, visually, how candidates for a study have been excluded from a final study population. Any
2003 Jun 04
2
Estimates for proportions
Hello, I need to get a point estimate and SD for a proportion, but the subjects' data are not binary---they are proportions (of doses received). That is, I have a proportion for each subject. In the past I have analysed these data as a continuous (normal) variable, but I really don't want CIs over 100%. This seems like basic stuff, but I don't remember learning it and it's
2002 Oct 31
2
Tables in graphics window
Hello, I would like to include a table (of rax data, not summary statistics - in case this makes any difference) alongside a plot. I know how to use 'layout' to divide my page into sections, but is it possible to put a table into one of these? Thanks! Tanya Murphy -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2002 Sep 09
1
Plots by subject
Hello! I need some help with creating plots for each study subject. I have tried the 'for' command as described in 'An Introduction to R', but I wasn't successful. Here's what I want to do: -Create and save the following overlayed scatterplots for each subject (1 to n). -The data frame is in the form of one line per visit per subject (so more than one line per
2003 Oct 28
2
Confidence ellipse for correlation
Hello, SAS' point and click interface has the option of produce a scatterplot with a superimposed confidence ellipse for the correlation coefficient. Since I generally like R so much better, I would like to reproduce this in R. I've been playing with the ellipse package. In order to have the points and the ellipse on the same graph I've done the following. (Load ellipse
2002 Nov 20
0
Plots by subject
Thomas, Thank you for your reply about the for () loop. The as.character advice worked. Sorry for the delay in getting back to?I had to set the project aside for a few weeks. This didn?t work exactly as is for (patient in as.character(1:n)){ pt <- MRN == patient (rest of the function) } But this did for (patient in as.character(levels(MRN))){ pt <- MRN == patient (rest of the function)