[R] Row name of empty string issue

2007-08-10 Thread adiamond
I have a data.frame with rownames taken from a database. Unfortunately, one of the rownames (automatically obtained from the DB) is an empty string. I often do computations on the DB s.t. the answers (rows) are indexed with respect to the rownames so a computation on a DB record might

[R] Function for trim blanks from a string(s)?

2007-08-06 Thread adiamond
I feel like an idiot posting this because every language I've ever seen has a string function that trims blanks off strings (off the front or back or both). Ideally, it would process whole data frames/matrices etc but I don't even see one that processes a single string. But I've searched and I

[R] exclusion rules for propensity score matchng (pattern rec)

2005-04-04 Thread adiamond
Dear R-list, i have 6 different sets of samples. Each sample has about 5000 observations, with each observation comprised of 150 baseline covariates (X), 125 of which are dichotomous. Roughly 20% of the observations in each sample are treatment and the rest are control units. i am doing

[R] qcc package syndromic surveillance (multivar CUSUM?)

2004-07-26 Thread adiamond
Dear R Community: I am working on a public health early warning system, and I see that the qcc package allows for CUSUM and other statistical quality tests but I am not sure if my project is a good match for qcc functions as written. Any advice you may have is very much appreciated. I have four

[R] strucchange-esque inference for glms ?

2004-06-28 Thread adiamond
hello R-world, according to the strucchange package .pdf, all procedures in this package are concerned with testing or assessing deviations from stability in the classical linear regression model. i'd like to test/assess deviations from stability in the Poisson model. is there a way to modify

[R] drawing half-circles

2004-05-17 Thread adiamond
Dear wonderful R community, I've been creating color-coded concentric circles using the points function, but I just realized that what I would really like to do is draw color-coded concentric half-circles. (Because I want to communicate information about the diameters-- half-circles are

[R] aregImpute: warning message re: acepack and mace

2003-07-28 Thread adiamond
hi, i'm trying to learn how to use aregImpute by doing the examples provided with the package, and after installing Hmisc.1.6-1.zip (for Windows), and running the very first example on R 1.7.1, i get an error message warning me about mace (see below) and acepack. i found the acepack package,

[R] contourplot:how to get it to label all contours like 'contour'

2003-07-27 Thread adiamond
Hi, one of the nice things about contour is that it labels all contour lines. contourplot only labels each particular elevation a single time. i.e., if there are two contour lines corresponding to z = 45, it will only label one of them. is there a way to get contourplot to automatically label