[R] lattice shingle plot axis annotation

2009-07-30 Thread Armin Goralczyk
panel.grid(h = -1, v = -1, lwd = 1) panel.superpose(x, y, ...) }, type = c('b') ) plot(test.plot) (this plot doesn't look good, I know, it's just and example) Thank you -- Armin Goralczyk -- http://

Re: [R] R User Group listings

2009-07-30 Thread Armin Goralczyk
page is at > > http://macnash.telfer.uottawa.ca/RUG.html > > > Contact me if you have a listing. I'm prepared to wikify it if there is > sufficient interest. > > John Nash Does anybody know if there is an R geographic user group in germany? (found none by ggogle search) --

[R] Weigths in lm and kruskal_test

2010-01-05 Thread Armin Goralczyk
obs ### all the same kruskal_test(y ~ x, data = rbind(d, d)) kruskal_test(y ~ x, data = d[rep(1:nrow(d), w),]) kruskal_test(y ~ x, data = d, weights = ~ w) anova(lm(y ~ x, data = d[rep(1:nrow(d), w),])) anova(lm(y ~ x, data = d, weights = w)) -- Armin Goralczyk -- http:

[R] Usage of weights in kruskal_test from package coin

2010-01-05 Thread Armin Goralczyk
, x = x) # w <- rep(2, nrow(d)) ### double each obs w <- rep(c(1,5), nrow(d)/2) kruskal_test(y ~ x, data = d[rep(1:nrow(d), w),]) # should be the same as kruskal_test(y ~ x, data = d, weights = ~ w) But the tests are not the same. Am I wrong somewhere here? -- Armin Goralczyk -- http://ww

[R] MacOS X binary for lme4 not available on CRAN

2010-06-01 Thread Armin Goralczyk
you for any advise or help -- Armin Goralczyk -- http://www.gwdg.de/~agoralc __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

[R] Conditional ploting with logical vector

2008-04-05 Thread Armin Goralczyk
0 time points of a time series by comparing the values at the single time points by a t-test. I know this is probably not the correct way to compare the whole series, but I have to do it this way ('constraints'). The question is: do I have to adjust for multiple testing by e.g. Bonferroni

Re: [R] New user, requesting help with MAC installation of R

2008-04-10 Thread Armin Goralczyk
/mail.html) -- Armin Goralczyk, M.D. -- Universitätsmedizin Göttingen Abteilung Allgemein- und Viszeralchirurgie Rudolf-Koch-Str. 40 39099 Göttingen -- Dept. of General Surgery University of Göttingen Göttingen, Germany -- http://www.gwdg.de/~agoralc _

[R] Validating a mixed-effects model

2008-05-04 Thread Armin Goralczyk
comparing the mixed model with a fitted least-squares regression. I understand that this can be achieved with lmlist, but only for for models without an additional fixed effect!? Are there any other good approaches to validate a mixed-effects model that will be accepted in medical peer review? -- Armin

Re: [R] editor under MAC system

2007-12-12 Thread Armin Goralczyk
; I agree that emacs seems to the best editor (especially if one knows it already). But there is one _big_ drawback: you cannot plot (interactively) to a quartz device which looks much nicer than the usual X11 (or any other) device. -- Armin Goralczyk, M.D. -- Universitätsmedizin Göttin

[R] Function for AUC?

2007-12-13 Thread Armin Goralczyk
Hello Is there an easy way, i.e. a function in a package, to calculate the area under the curve (AUC) for drug serum levels? Thanks for any advice -- Armin Goralczyk, M.D. -- Universitätsmedizin Göttingen Abteilung Allgemein- und Viszeralchirurgie Rudolf-Koch-Str. 40 39099 Göttingen -- Dept. of

Re: [R] Function for AUC?

2007-12-17 Thread Armin Goralczyk
1] 35 which seems to be correct. I hope everyone agees. I didn't know it's that simple. I guess I don't need another function. Thank's for all the help and all the suggestions. -- Armin Goralczyk, M.D. -- Universitätsmedizin Göttingen Abteilung Allgemein- und Viszeralchirurgie R

Re: [R] Analyzing Publications from Pubmed via XML

2007-12-17 Thread Armin Goralczyk
7851940" > [6,] "17765779" > [7,] "17688640" > [8,] "17638782" > [9,] "17627059" > [10,] "17599582" > [11,] "17589729" > [12,] "17585283" > [13,] "17568846" > [14,] "17560665&q

Re: [R] Analyzing Publications from Pubmed via XML

2007-12-17 Thread Armin Goralczyk
following error message: > pm.srch() 1: "laryngeal neoplasms[mh]" 2: Read 1 item Fehler in .Call("RS_XML_ParseTree", as.character(file), handlers, as.logical(ignoreBlanks), : error in creating parser for http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubme

Re: [R] Analyzing Publications from Pubmed via XML

2007-12-18 Thread Armin Goralczyk
On 12/18/07, David Winsemius <[EMAIL PROTECTED]> wrote: > David Winsemius <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: > > > "Armin Goralczyk" <[EMAIL PROTECTED]> wrote in > > news:[EMAIL PROTECTED]: > > >> I tried the above

Re: [R] Analyzing Publications from Pubmed via XML

2007-12-19 Thread Armin Goralczyk
On Dec 18, 2007 9:39 PM, David Winsemius <[EMAIL PROTECTED]> wrote: > "Armin Goralczyk" <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: > > > It's not the spaces, the problem is the tag (sorry that I didn't > > specify this), or maybe th

[R] Pause loop

2007-12-28 Thread Armin Goralczyk
Hi list How can I pause a loop (or any other function) for a defined time? E.g. for(i in 1:5) {print(1:i); 'function to pause for 10 seconds'} Thanks for help. -- Armin Goralczyk, M.D. -- Universitätsmedizin Göttingen Abteilung Allgemein- und Viszeralchirurgie Rudolf-Koch-Str

[R] CSVSource in tm Package

2008-01-06 Thread Armin Goralczyk
t; R.Version() $platform [1] "powerpc-apple-darwin8.10.1" $arch [1] "powerpc" $os [1] "darwin8.10.1" $system [1] "powerpc, darwin8.10.1" $status [1] "" $major [1] "2" $minor [1] "6.1" $year [1] "2007" $month [

Re: [R] EMACS and ESS

2008-01-15 Thread Armin Goralczyk
t; John > Maybe I don't understand (I use ess and emacs with Mac OSX), but is this what you are looking for (at least it mentions RPMs for Fedora) ?: http://ess.r-project.org/ and https://admin.fedoraproject.org/pkgdb/packages/name/emacs-common-ess/ -- Armin Goralczyk, M.D. -- Univ

[R] Lattice on FreeBSD

2008-01-22 Thread Armin Goralczyk
Hi list I tried to install package lattice on FreeBSD, but install.package() does not seem to find it in the repositories, even trying different mirrors. Could it be that lattice package is not available for FreeBSD? -- Armin Goralczyk, M.D. -- Universitätsmedizin Göttingen Abteilung Allgemein

Re: [R] Lattice on FreeBSD

2008-01-23 Thread Armin Goralczyk
have to update. Shouldn't this information be included in the error message?! This would make things a lot easier. -- Armin Goralczyk, M.D. -- Universitätsmedizin Göttingen Abteilung Allgemein- und Viszeralchirurgie Rudolf-Koch-Str. 40 39099 Göttingen -- Dept. of General Surgery University

[R] plot from source file

2007-10-04 Thread Armin Goralczyk
powerpc, darwin8.9.1 status major 2 minor 5.1 year 2007 month 06 day 27 svn rev42083 language R version.string R version 2.5.1 (2007-06-27) -- Armin Goralczyk, M.D. Dept. of General Surgery University of Göttingen Göttingen, Germa

[R] Visualize cox proportional hazards

2007-10-09 Thread Armin Goralczyk
able.R My question: Is there a simple way to obtain such a plot? and Is there any other good plot to visualize the hazard ratios? Thanks in advance. -- Armin Goralczyk __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEA

Re: [R] Visualize cox proportional hazards

2007-10-10 Thread Armin Goralczyk
ar 2007 month 06 day27 svn rev42083 language R version.string R version 2.5.1 (2007-06-27) Thanks -- Armin Goralczyk __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE d

Re: [R] Multivariate, multilevel regression?

2007-09-13 Thread Armin Goralczyk
ne, needs subscription) http://dx.doi.org/10.1002/(SICI)1097-0258(19971030)16:20<2349::AID-SIM667>3.0.CO;2-E and http://www3.interscience.wiley.com/cgi-bin/abstract/62004087/ABSTRACT -- Armin Goralczyk, M.D. Dept. of General Surgery University of Göttingen Göttingen, Germany

[R] lme for repeated measurements over time

2007-09-14 Thread Armin Goralczyk
pod^3 the model had a slightly better fit. Can I do this? 7. Can I assume that the data is heteroskedastic? How do I apply the 'weights' in the above model? I am sorry if some questions may sound weird but I am just beginning to understand this (for me) rather complex concept. Thanks for

Re: [R] HTML reading,

2007-09-15 Thread Armin Goralczyk
ttp://gking.harvard.edu/readme/ I don't know how they strip the html tags exactly, but it is described in the documents there. This is also a good tool for text analysis. -- Armin Goralczyk, M.D. Dept. of General Surgery University of Göttingen Göttingen, Germany