Re: [R] R and SAS proc format

2007-03-07 Thread Ulrike Grömping
The down side to R's factor solution: The numerical values of factors are always 1 to number of levels. Thus, it can be tough and requires great care to work with studies that have both numerical values different from this and value labels. This situation is currently not well-supported by R.

[R] rpart-question regarding relation between cp and rel error

2007-03-06 Thread Ulrike Grömping
Dear useRs, I may be temporarily (I hope :-)) confused, and I hope that someone can answer this question that bugs me at the moment: In the CP table of rpart, I thought the following equation should hold: rel error = rel error(before) - (nsplit - nsplit(before)) * CP(before), where

Re: [R] R and SAS proc format

2007-03-06 Thread Ulrike Grömping
The down side to R's factor solution: The numerical values of factors are always 1 to number of levels. Thus, it can be tough and requires great care to work with studies that have both numerical values different from this and value labels. This situation is currently not well-supported by R.

[R] [R-pkgs] relaimpo: CRAN package for relative importance in linear regression

2006-07-05 Thread Ulrike Grömping
orders of regressors. This version can be downloaded from my website. User feedback is very welcome! Regards, Ulrike ** Prof. Dr. Ulrike Grömping Fachbereich II TFH Berlin Luxemburger Str. 10 13353 Berlin mail: [EMAIL PROTECTED] www: www.tfh-berlin.de/~groemp

[R] Reading a list of mixed type values

2006-03-16 Thread Ulrike Grömping
Dear helpeRs, I have a column of various different entry types denoting missing value codes for a data frame. Elements can be numbers (e.g. 9), combinations of numbers e.g. in the form c(0,9,99), or NULL (for no valid missing data code). I used codes-read.table(paste (path2,

[R] hierarchical partitioning

2006-03-16 Thread Ulrike Grömping
are using hier.part, you might also be interested in the package relaimpo (linear model with R-squared only, but more different metrics for partitioning). Regards, Ulrike ** Prof. Dr. Ulrike Grömping Fachbereich II TFH Berlin Luxemburger Str. 10 13353 Berlin www

[R] R CMD check: problems possibly from mapply?

2006-03-14 Thread Ulrike Grömping
Dear expeRts, I am trying to wrap up a package utilities (for my internal use). After adding a function datNAtreat that uses mapply, R CMD check gives WARNINGs for S3 generic/method consistency, checking replacement functions and checking foreign function calls, all of which are accompanied by

Re: [R] R CMD check: problems possibly from mapply?

2006-03-14 Thread Ulrike Grömping
Sorry, just pressing the send button brought the solution :-) The problem has nothing to do with any programming issues, but rather with confusion about directories to use R CMD from. Regards, Ulrike -- Forwarded Message --- From: Ulrike Grömping [EMAIL PROTECTED] To: r-help

[R] fractional factorial design in R

2006-01-23 Thread Ulrike Grömping
Roberto Furlan wrote: Hi, i need to create a fractional factorial design sufficient to estimate the main effects. The factors may have any number of levels, let's say any number from 2 to 6. I've tried to use the library conf.design , but i cannot figure out how to write the code. For

Re: [R] R: fractional factorial design in R

2006-01-23 Thread Ulrike Grömping
I think that there is an understandable wish to have the simple orthogonal plans (and be it only for non-experts to be able to analyse the results themselves). For mixed levels, there is e.g. the L36 that should be able to accomodate plans like 2x2x2x3x3x3. Unfortunately, R is not very strong

Re: [R] Time delay function or plot animation

2005-12-13 Thread Ulrike Grömping
Grömping [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Mon, 12 Dec 2005 21:14:26 +0100 Subject: Re: [R] Time delay function or plot animation Ulrike Grömping wrote: is it possible to specify a time delay for plotting the points in a curve? I would like to make the plotting process slow

[R] Time delay function or plot animation

2005-12-12 Thread Ulrike Grömping
Dear R-help crowd, is it possible to specify a time delay for plotting the points in a curve? I would like to make the plotting process slow enough to show the development of the graph, and therefore I am looking either for the possibility within the plot function to specify a plotting speed

Re: [R] Method for $

2005-11-22 Thread Ulrike Grömping
Does that mean, then, that the help page's x$name just accidentally coincides with the arguments x and name that the $-function requires in S4? Regards, Ulrike -- Original Message --- From: Prof Brian Ripley [EMAIL PROTECTED] To: Ulrike Grömping [EMAIL PROTECTED] Cc: Duncan

[R] Method for $

2005-11-18 Thread Ulrike Grömping
of this problem have not been successful. Can someone help? Thanks and regards, Ulrike Grömping, Berlin __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting

Re: [R] Method for $

2005-11-18 Thread Ulrike Grömping
, Ulrike Grömping -- Original Message --- From: Uwe Ligges [EMAIL PROTECTED] To: Ulrike Grömping [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Fri, 18 Nov 2005 17:45:40 +0100 Subject: Re: [R] Method for $ Ulrike Grömping wrote: Dear R experts, I have defined

Re: [R] Method for $

2005-11-18 Thread Ulrike Grömping
of the list as slots).  Maybe I could (and should?) have defined the class with just one slot that contains the list, which would make it behave like I want it immediately. Regards, Ulrike Grömping -- Original Message --- From: Martin Maechler [EMAIL PROTECTED] To: Ulrike

Re: [R] Method for $

2005-11-18 Thread Ulrike Grömping
-- Original Message --- From: Duncan Temple Lang [EMAIL PROTECTED] To: Ulrike Grömping [EMAIL PROTECTED] Cc: Uwe Ligges [EMAIL PROTECTED], r-help@stat.math.ethz.ch Sent: Fri, 18 Nov 2005 10:26:51 -0800 Subject: Re: [R] Method for $ -BEGIN PGP SIGNED MESSAGE- Hash

Re: [R] Method for $

2005-11-18 Thread Ulrike Grömping
PROTECTED], 'Ulrike Grömping' [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Fri, 18 Nov 2005 09:42:12 -0800 Subject: RE: [R] Method for $ I believe that a  recommended S4 convention is simply to write methods for slot extraction with the same name as the slot. Thus, for an object,x