[R] Breakpoints and non linear regression

2012-11-09 Thread thomas88
Hello, I have done some research about breakpoints (I am not a statistician) and I found out about the breakpoint, strucchange and segmented packages in R allowing to find breakpoints assuming linear model. However, I would like to fit a periodic time series with a non linear (periodic) model, an

[R] Table into a list

2012-02-24 Thread thomas88
Hello, I am looking for a way to transform an array into a list (or a string). My array has two columns 1 and 2, and I would like to create a list of the values. Let's say I have : x1 x2 1 a b 2 c d 3 e f 4 g h What I would li