search for: tiefe

Displaying 2 results from an estimated 2 matches for "tiefe".

2007 May 16
3
Filled step-function?
...o, I'd like to generate a filled step-function in R as you can see in the attachement (image is generated by grapher, but I need a freely available alternative). The problem is, that I don't know, how to fill it up. My code right now looks like this: pH <- c(0,6.1,6.1,6.3,6.6,7.3,0) Tiefe <- c(0,0,10,40,80,120,10) plot(pH,Tiefe,type="s",main="Tiefenfunktion pH",ylim=c(120,0),xlim=c(0,23)) Can someone give me an hint how to work on this? Thanks, Beate -------------- next part -------------- A non-text attachment was scrubbed... Name: pH.png Type: image/png S...
2006 Jul 17
6
Nested functions
Hi there, I'm having myself a hard time writing an algorithm for finding patterns within a given melody. In a vector I'd like to find ALL sequences that occur at least twice, without having to check all possible patterns via pattern matching. I finally found a solution in a style that I'm used from C, i.e. calling one function from within another. GNU R doesn't seem to like that,