similar to: Re: Variable labels (was Re: [R] Reading SAS version 8 d ata into

Displaying 20 results from an estimated 10000 matches similar to: "Re: Variable labels (was Re: [R] Reading SAS version 8 d ata into"

2001 Aug 24
1
RE: Variable lables (was Re: [R] Reading SAS version 8 data into
[Moved from R-help] > From: fharrell@virginia.edu [mailto:fharrell@virginia.edu] > I store variable labels as "label" attributes of vectors > and use then in various plotting functions as well as the > describe() function. I would like to see general support for label attributes in the R plotting and modeling functions. One possible way of implementing this is to create a
1998 Aug 20
2
R-beta: Hmisc and R
Hello, I want to try the Design and Hmisc library from FE Harrell but, i have trouble with the copyright for the library Hmisc : in the home of the author : http://fharrell.biostat.virginia.edu/s/unix/ in the file Hmisc.README ###COPYRIGHT NOTICE ###You may not port code in the Hmisc library to R. Aie, Why ???? ###You may distribute these functions freely as long as you do so without
2002 Dec 04
2
problem with load('http://....') (PR#2344)
Full_Name: Frank Harrell Version: 1.6.1 OS: RedHat 8.0 Linux Submission from: (NULL) (128.143.108.90) I get an error when trying to load a URL that contains a file that was saved using save(object, compress=TRUE): > load('http://hesweb1.med.virginia.edu/biostat/s/data/sav/kprats.sav') Error in gzfile(file, "rb") : unable to open connection In addition: Warning message:
2009 Jul 26
1
obtain names of variables and data from glm object
Suppose we have some glm object such as: myglm <- glm( y ~ x, data=DAT) Is there an elegant way--or the "right way" within the R way of thinking--to obtain the names of the response variable, the predictor variables, and the dataset, as character strings? For instance, suppose the "right way" was to use the (currently fictitious) functions theresponse(), thepredictors(),
2001 Jul 28
2
Re: [S] Labels wrong with lrm
Dear Jan, Thank you very much for your excellent description of the problem and the self-contained test code. This is a problem that I've been meaning to either document better or solve for some time. The root of the problem is with the builtin S-Plus terms.inner function: > attr(terms.inner(asthma ~ pol(age,kx) + smok),'variables') expression(age, kx, smok) You can see that
2003 Jan 18
1
SAS transport files and the foreign package
Even though the FDA has no policies at all that limit our choices of statistical software, there is one defacto standard in place: reliance of the SAS transport file format for data submission (even though this format is deficient for this purpose, e.g., it does not even document value labels or units of measurement in a self-contained way). Because of the widespread use of SAS transport files in
2003 Apr 17
18
Validation of R
Hi All I am really very interested in starting to use R within our company. I particularly like the open source nature of the product. My company is a medical research company which is part of the University of London. We conduct contract virology research for large pharma companies. My question is how do we validate this software? I wonder if anyone else has had the problem and might be able to
2002 Apr 12
5
How to specify search order for require()
In a .First.lib I want to issue two require()s to insure that two other packages are loaded. But I want the package being loaded by .First.lib using library.dynam("mypackage",pkb,lib) to be higher in the search order than the two required packages, because I want to have a couple of functions from the two required packages overridden. What is the best way to do that? Thanks in advance
2002 Nov 24
2
R CMD build
Using R CMD INSTALL packagename.tar.gz on platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 6.1 year 2002 month 11 day 01 language R I used to get html and latex files recreated only when the source .Rd file changed. Now I am getting html and latex (and text and example) recreated whenever I run R CMD INSTALL when I do
2002 Nov 24
2
R CMD build
Using R CMD INSTALL packagename.tar.gz on platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 6.1 year 2002 month 11 day 01 language R I used to get html and latex files recreated only when the source .Rd file changed. Now I am getting html and latex (and text and example) recreated whenever I run R CMD INSTALL when I do
2003 Jun 05
2
ridge regression
Hello R-user I want to compute a multiple regression but I would to include a check for collinearity of the variables. Therefore I would like to use a ridge regression. I tried lm.ridge() but I don't know yet how to get p-values (single Pr() and p of the whole model) out of this model. Can anybody tell me how to get a similar output like the summary(lm(...)) output? Or if there is
2001 Sep 13
2
SV4 on R?
Dear R-Developers, The traffic today on s-news where Terry Therneau, I, and others are reporting some of the problems we have had using or converting applications to SV4 reminded me of something Duncan Temple Lang had mentioned to me a year ago that I wanted to follow up on. I recall that Duncan said either that if SV4 were to be implemented in R that it would not be the default behavior, or
2001 Apr 07
2
A programming puzzler
I am trying to replicate part of the function of the S-Plus terms.inner function. I don't need an entire model terms object but R expressions or character strings containing the innermost variable name given a vector of character strings or expressions. Here are some example inputs that each should result in the string or expression "x": x; x^2; g(x); h(g(x)); h(g(x^3));
2003 Apr 21
3
Dates in read.spss
I am using read.spss in the foreign package to read an SPSS save file. For date variables I get huge values such as 11489990400. Does anyone know how to convert these values to R POSIXct date objects? Thanks in advance -Frank platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor
2001 Jan 31
0
FW: sas.get error
A couple of months ago, I asked Frank Harrell (fharrell@virginia.edu), the author of the Hmisc S-Plus library, about the reason for his "No porting to R" requirement. I may have previously posted his reply, but I don't see it in the archives, so I'll send it again. This is a edited version of our email conversation: Gregory R. Warnes: The license to the Hmisc library
2002 Aug 04
5
Pseudo R^2 for logit - really naive question
I am using GLM to calculate logit models based on cross-sectional data. I am now down to the hard work of making the results intelligible to very average readers. Is there any way to calculate a psuedo analoque to the R^2 in standard linear regression for use as a purely descriptive statistic of goodness of fit? Most of the readers of my report will be vaguely familiar and more comfortable with
2003 Apr 01
2
Old style and new style classes
I have been writing quick and dirty S-plus code for years, but for a recent project I took the plunge, bought Venables and Ripley's S Programming, and implemented a class library using new style classes (in S-Plus 6.0). It worked quite nicely and I am wondering about making more routine use of them. Before I make much more of an investment, I have a few questions, both factual and subjective,
2003 Apr 01
2
Old style and new style classes
I have been writing quick and dirty S-plus code for years, but for a recent project I took the plunge, bought Venables and Ripley's S Programming, and implemented a class library using new style classes (in S-Plus 6.0). It worked quite nicely and I am wondering about making more routine use of them. Before I make much more of an investment, I have a few questions, both factual and subjective,
2001 Jun 07
1
Suggestion for tapply
In S-Plus the ... argument for tapply is before simplify. In R (1.2.3) ... is after simplify, causing the user to have to specify simplify every time ... is used even though the default is usually OK. Unless there was a benefit to reordering the arguments, it might be a good idea to reconsider the current function definition. ... is probably used more than simplify (e.g., tapply(rainfall,
2003 Jun 17
1
Re: R: Problem from Philippe Glaziou
On Mon, 16 Jun 2003 09:56:07 +0200 Patrick Hausmann <p.hausmann at mr-regionalberatung.de> wrote: > Dear Frank, > > I can reproduce the problem from Philippe Glaziou (see attachment). > Maybe this can help. > Best, > Patrick > > Am Wollelager 11 > 27749 Delmenhorst > Tel. 04221 96373-0 > Fax 04221 96373-29 > > http://www.mr-regionalberatung.de >