[R] Help with conversion of variable labels (Hmisc and Epicalc)

2014-09-26 Thread Otto Pichlhöfer
there is a function that would allow to easily convert Epicalc labels to Hmisc labels and possibly the other way around. Unfortunately I am not adept enough in R to write such a function myself. -- Otto Pichlhöfer __ R-help@r-project.org mailing list

[R] R: recommended linux version for R user

2013-08-14 Thread Otto
The one you can have some assistance from friends an colleagues around. Ditoni + tastierina =erroru di battitura Jie ha scritto: >Dear All, > >I plan to switch to linux and run R, latex and CUDA on it. >For this reason, which is the recommended version of linux (stable, >efficient, compatible e

[R] About summary in linear models

2011-12-06 Thread Otto F. Wagner
92e+00 3.181e+00 2.669 0.0235 * --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Thanks so much, Otto [[alternative HTML version deleted]] __ R-help@r-project.org mailing l

Re: [R] Ifs in formula

2011-03-14 Thread Otto Kässi
Dennis, this works perfectly! Thanks, Otto On Fri, Mar 11, 2011 at 2:08 PM, Dennis Murphy wrote: > Hi: > > Perhaps something like > > f1(x, y) * I(z > 0) + f2(x, y) * I(z <= 0)  ?? > > HTH, > Dennis > > On Fri, Mar 11, 2011 at 3:10 AM, Otto Kässi wro

[R] Ifs in formula

2011-03-11 Thread Otto Kässi
mated. Thanks in advance for all helpful suggestions! With kind regards, Otto Otto Kassi University of Helsinki Dept. of Economics __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http:/

Re: [R] list concatenation

2011-01-12 Thread Georg Otto
Bert Gunter writes: > Lists are (isomorphic to) trees with (possibly) labelled nodes. A > completely general solution in which two trees have possibly different > topologies and different labels would therefore involve identifying > the paths to leaves on each tree, e.g. via depth first search us

[R] list concatenation

2011-01-11 Thread Georg Otto
Dear R gurus, first let me apologize for a question that might hve been answered before. I was not able to find the solution yet. I want to concatenate two lists of lists at their lowest level. Suppose I have two lists of lists: list.1 <- list("I"=list("A"=c("a", "b", "c"), "B"=c("d", "e", "f")

Re: [R] Find in R and R books

2010-11-22 Thread Georg Otto
Alaios writes: > Also when I try to search in google using for example the word R inside the > search lemma I get very few results as the R confuses the search engine. When > I was looking something in matlab ofcourse it was easier to get results as > the search engine performs better. > What

Re: [R] rms::ols & I(.) in formulas

2010-07-02 Thread Otto Kässi
-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Otto Kässi > Sent: Thursday, July 01, 2010 3:28 PM > To: r-help@r-project.org > Subject: [R] rms::ols & I(.) in formulas > > Dear R-helpers, > > To start I would like to thank Prof. Harrell for package rm

[R] rms::ols & I(.) in formulas

2010-07-01 Thread Otto Kässi
lue where TRUE/FALSE needed Has anyone else encountered something similar? Is this a bug or does this behavior have a reason? There are of course trivial workarounds: one can either use poly(x, 2) or save x^2 as a new column to dd, but trying to debug this was a pain. With kind regards, O

Re: [R] Latex and r

2010-06-16 Thread Georg Otto
moleps writes: Apparently you don't have xdvi installed on your system. HTH Georg > Dear R´ers > > I´m trying to get a summary table using latex and summary in the rms package > to no avail. I´m running R 2.10.1, Mac OS X snow leopard and I have the > mactex 2009 distribution installed. An

Re: [R] Package plm & heterogenous slopes

2010-02-08 Thread Otto Kässi
more straightforward though. Regards, Otto On Thu, Feb 4, 2010 at 4:46 PM, Millo Giovanni wrote: > Dear Otto, > > please see ?pvcm and the section on variable coefficient models here > http://www.jstatsoft.org/v27/i02/paper > > Should suit your needs; else pl

[R] Package plm & heterogenous slopes

2010-02-03 Thread Otto Kässi
Dear r-helpers, I am working with plm package. I am trying to fit a fixed effects (or a 'within') model of the form y_it = a_i + b_i*t + e_it, i.e. a model with an individual-specific intercept and an individual- specific slope. Does plm support this directly? Thanks in advance!

[R] Package NP; npregbw; selective bandwidth selection

2009-09-01 Thread otto kässi
c estimation of regression functions with both categorical and continuous Data," Journal of Econometrics, 119, 99-130. Best regards, Otto Kassi University of Helsinki Dept. of Economics __ R-help@r-project.org mailing list https://stat.ethz.c

Re: [R] Saving environment object

2008-08-15 Thread Benjamin Otto
Hi Luke, hi all, You have been right guys, the hashing solved the problem. Thanks for your hard efforts. :) Best regards Benjamin -Ursprüngliche Nachricht- Von: Luke Tierney [mailto:[EMAIL PROTECTED] Gesendet: Friday, August 15, 2008 6:29 PM An: Prof Brian Ripley Cc: Benjamin Otto; R

Re: [R] Saving environment object

2008-08-15 Thread Benjamin Otto
- Von: Erik Iverson [mailto:[EMAIL PROTECTED] Gesendet: Friday, August 15, 2008 3:37 PM An: Benjamin Otto Cc: R-Help Betreff: Re: [R] Saving environment object Benjamin Otto wrote: > Hi, > > When I create an environment object with new.env() and populate it with > values then how can

[R] Saving environment object

2008-08-15 Thread Benjamin Otto
: protect(): protection stack overflow Regards, benjamin == Benjamin Otto University Hospital Hamburg-Eppendorf Institute For Clinical Chemistry Martinistr. 52 D-20246 Hamburg Tel.: +49 40 42803 1908 Fax.: +49 40 42803 4971

[R] parent in Creating environment object

2008-08-01 Thread Benjamin Otto
() function influence the final environment. So: 1. Do I ALWAYS have to supply a parent during creation? 2. If yes, what would that be, when all I want is a conversion from a simple list? Best regards Benjamin == Benjamin Otto University Hospital Hamburg-Eppendorf

[R] Sweave figure

2008-07-09 Thread Georg Otto
Hi, I have a problem using figures in Sweave: To save my figures, I use \SweaveOpts{prefix.string=figures/figure} I adjust the figure size for my pdf document using <>= this works fine. The file figures/figure-graphicsFun.pdf has the right size, and so has the figure in the final pdf doc

[R] workspace platform potabillity

2008-07-08 Thread Benjamin Otto
== Benjamin Otto University Hospital Hamburg-Eppendorf Institute For Clinical Chemistry Martinistr. 52 D-20246 Hamburg Tel.: +49 40 42803 1908 Fax.: +49 40 42803 4971 == -- Pflichtangaben gemäß Gesetz über elektronische Handelsregister und

Re: [R] applying a function recursively

2008-06-12 Thread Georg Otto
quot; "i" "h" "g" What I rather would like to achieve is a list like this: $I.A [1] "c" "b" "a" $I.B [1] "f" "e" "d" $I.C [1] "i" "h" "g" $II.A.a [1] "c&q

[R] applying a function recursively

2008-06-11 Thread Georg Otto
Hi, I have a question about applying a function recursively through a list. Suppose I have a list where the different elements have different levels of recursion: > test.list<-list("I"=list("A"=c("a", "b", "c"), "B"=c("d", "e", "f"), > "C"=c("g", "h", "i")), + "II"=list("A"=lis

Re: [R] legend for several graphics

2008-03-07 Thread Georg Otto
Thanks a lot, John, Gavin; Hadley and Greg, for your helpful comments and suggestions. I finally achieved what I wanted using the suggested method from Gavin with corrections from Greg. Out of curiosity (and interest to learn): Hadley, how would you simplify that code using lattice or ggplot and h

[R] legend for several graphics

2008-03-05 Thread Georg Otto
Hi, I am trying to generate a figure of 9 plots that are contained in one device by using par(mfrow = c(3,3,)) I would like to have 1 common legend for all 9 plots somewhere outside of the plotting area (as opposed to one legend inside each of the 9 plots, which the function legend() seems to ge

Re: [R] Interpretation of log odds

2008-02-12 Thread Georg Otto
Dear Corinna, please do post questions related to bioconductor packages directly to the bioconductor mailing list. You will have a much higher chance to get a helpful answer. The B-statistic is explained best explained in the limma user guide (chapter 10), which comes with the limma package or fr

Re: [R] Mono in postscript device

2007-12-12 Thread Benjamin Otto
:10) > plot(1:10) > dev.off() Version 2: > postscript(filename="myfile.ps") > plot(1:10,family="mono") > dev.off() Best regards, Benjamin Otto -Ursprüngliche Nachricht- Von: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Gesendet: Tuesday, December 11, 20

[R] Mono in postscript device

2007-12-11 Thread Benjamin Otto
attached base packages: [1] "tools" "stats" "graphics" "grDevices" "utils" [6] "datasets" "methods" "base" other attached packages: affy affyioBiobase hgu133acdf hgu133a &qu