Re: [R] package segmented problem

2008-07-09 Thread milton ruser
Hi Alan How your lm model looks like? Are your data stored on a data.frame ? Case yes, send us a str(df). Send us a short sample of the code and a short subset of the data. Cheers, miltinho astronauta brazil On Tue, Jul 8, 2008 at 5:36 AM, Alan Kelly [EMAIL PROTECTED] wrote: Hi, while using

[R] package segmented problem

2008-07-08 Thread Alan Kelly
Hi, while using package segmented (version 0.2-4) by Vita Muggeo to investigate a possible change point (around time = 222) in admissions for a specific medical condition I had the following error message: fit2.seg-segmented(fit2, seg.Z=~time,psi=222) Error in segmented.lm(fit2, seg.Z =