[R] problems with package 'segmented'

2013-01-11 Thread Benedikt Drosse
e function works fine without reporting any errors: code as follows: os <- segmented(olm, seg.Z= ~ time.KV + time.KW + time.WC, psi=list(time.KV=300, time.KW=c(450,600), time.WC=c(300,450))) Thanks alot for your comments. Best regards, Benedikt -- Benedikt Drosse PhD student AG von Korff

[R] Question on broken-line regression: 'segmented' or alternative

2013-01-12 Thread Benedikt Drosse
Dear R-Users, I have a question concerning the determination of breakpoints and comparison of slopes from broken-line regression models. Although this is rather a standard problem in data analysis, all information I gathered so far, did not answer my questions. I added a subsetted example of

[R] How to adjust the y-axis range in barplot properly

2011-09-22 Thread Benedikt Drosse
Hello R-Users, it might be a rather simple problem I have, but I couldn't find any solution online. Thus, here is my problem: I would like to adjust the y-axis range in a barplot, since all my values are >70. Therefore I would like to only visualize the y-axis from 60-100 (example 1). The pro