[R] Problem with timeSequence {timeDate} - wrong end date

2011-01-06 Thread Benjamin B.
] [2000-02-12] [2000-04-12] [2000-06-12] > timeSequence(from = as.Date("1999-12-12"), to = as.Date("2000-06-08"), by = "2 months") GMT [1] [1999-12-12] [2000-02-12] [2000-04-12] [2000-06-12] Am I missing something essential in using timeSequence? Is this

Re: [R] How to formulate constraint like abs(x) = y in constrOptim (or other)

2010-12-07 Thread Benjamin B.
Ph. (410) 502-2619 email: rvarad...@jhmi.edu -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Hans W Borchers Sent: Monday, December 06, 2010 1:08 PM To: r-h...@stat.math.ethz.ch Subject: Re: [R] How to formulate constraint like abs(

Re: [R] help getting data in correct format

2010-12-06 Thread Benjamin B.
ata format on import I use fileData[,col] <-as.(fileData[,col]) Maybe you can use read.csv2 if you have a german (or european) excel. Benjamin B. Hamburg, Germany -Ursprüngliche Nachricht- Von: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Im Auftrag von John

[R] How to formulate constraint like abs(x) = y in constrOptim (or other)

2010-12-06 Thread Benjamin B.
lp, web and all searchable R resources I could find, but got no helping result. Is constrOptim the right function to use? Maybe you can give me a hint or can point me to a good description of constraint handling. Greetings and thanks in advance, Benjamin Benjamin B. H