[R] elemental composition from exact mass

2011-11-18 Thread eldor ado
dear R-listers, does anyone of you know whether there is any R package that features a alogarithm to calculate the sum formula from a given exact mass (as used in mass spectrometry)? thanks a lot, lukas -- Lukas Kohl Department of Chemical Ecology and Ecosystem Research http://www.ecosystem-res

[R] query for xlim/ylim of current plot

2011-10-31 Thread eldor ado
der R-listers, does anyone of you know whether there is a function which returns the xlim/ylim ranges of the current plot (i would like to use coordinates to place some text via a function, regardless of the x/y lims of the plot). best regards, lukas kohl

Re: [R] xtable with conditional formatting using \textcolor

2011-09-06 Thread eldor ado
I have a related question: dataframe df contains values like >df .. "\\textbf{ 0.644 }" .. and the line > print( xtable(df , sanitize.text.function = function(x){x})) converts them to .. & $\backslash$textbf\{ 0.644 \} & .. escaping both double backslashes and brackes. maybe somebody her

[R] assign group letters to T/F matrix

2011-08-31 Thread eldor ado
dear R community, i appologize as this is kind of a newbie question, but: I want to assign group letters (like in anova post-hoc tests) to data with combined means and SDs. It's easy to apply t-test formulas to get a materix like (A - D are treatments | A B C D ---

[R] welch anova and post-hoc

2011-06-12 Thread eldor ado
dear r community... it loks like i won't be able to reach homogenity of variance for my dataset, so i end up with welch anova instead of regular anova. documentation on this test is rather scarce, so maybe someone here can enlighten me a bit: - do i understand that no two-way implementation of th

[R] generically forward low-level graphic parametres in function

2011-06-02 Thread eldor ado
Hello, following problem: i have a written my own function to draw some sophisticated graphic, which after manipulating data somewhere contains a plot comand function <- function(x) { ... plot(xy) } to tidy up my final graphs, it would be very handy to be able forward all low-level graphic para

[R] anova/graphs for _many_ variables

2010-01-10 Thread eldor ado
hello, i'm looking for an efficient way to run two-way-anovas and/or boxplots for all (200+) variable in a dataframe. are there a neat way to script this? lukas kohl __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEA