[R] Calculate area under a curve

2010-07-01 Thread suse
Hi, I want to know the area under a curve, which is not given as a function, but as values in a time series. It is not a smooth curve, but switches often between positive values and zero (the values describe the moisture in the soil over a year, one entry is one day). I already tried area.betwee

Re: [R] Calculate area under a curve

2010-07-01 Thread suse
Thank you, seems to be the right thing for me. But what is this "n" for? The number of iteration steps as mentioned on other pages for the simpson rule? "number of divisions" as said on the help page I don't understand. ("a" and "b" can be ignored, if I got it right?!). Thanks again! stephen sef

[R] Tutorial Tinn-R

2010-07-23 Thread suse
Hi, does anyone know a tutorial for Tinn-R? During all my search I only found R-Tutorials... The problem now is: I would like to make Tinn-R an autosave. But since I had several questions before concerning Tinn-R (for example, how to have Tinn-R and R in one window or how do the new versions work

[R] Fill pattern for Boxplots?

2012-08-08 Thread suse
Is it possible to fill the boxes of a boxplot with filling patterns/texture instead of colours? Or both mixed? (for example white, grey, left diagonal striped, right diagonal striped) How can I do that? I searched here, but didn't find an answer. Thank you! -- View this message in context: htt

[R] subscript with comma

2012-01-04 Thread suse
Hi, I want to write a word with subscript in a graph. Unfortunately, the subscript contains a comma, so all my trials didn't work and I didn't find how to do it. I want to write "sm" as normal text and "w,grass" in the subscript. Can anybody help me? And a more general question: I read the help t

Re: [R] subscript with comma

2012-01-04 Thread suse
Thank you! It works now. But I still don't understand, how all these expressions, "", paste, group, eval... have to be used together. (For example, I first tried expression(sm[w,grass]) but it didn't work, and I couldn't find, why (and when) commas are interpreted here differently). So: Is there

Re: [R] subscript with comma

2012-01-05 Thread suse
David Winsemius wrote > > The insight that > allowed me to get a significantly higher frequency of success was > realizing that the correct separators between separate expressions > were "*" and "~" rather than or . Inside an expression > a comma will signal a new expression element. A