Re: [R] Fwd: Matrix Constraints in R Optim

2016-06-21 Thread Priyank Dwivedi
vg error > Error_total <- sum( Error > , na.rm=FALSE > ) / ncol( my.data.matrix.prod ) > > Error_total > } > > n <- ncol( my.data.matrix.prod ) > m <- ncol( my.data.matrix.inj ) > k <- ( 1 + n ) * m >

Re: [R] Fwd: Matrix Constraints in R Optim

2016-06-20 Thread Priyank Dwivedi
,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)) sols On 17 June 2016 at 16:55, Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote: > Your code is corrupt because you failed to send your email in plain text > format. > > You also don't appear to have all data needed to reproduce the problem. Use

[R] Fwd: Matrix Constraints in R Optim

2016-06-17 Thread Priyank Dwivedi
By mistake, I sent it earlier to the wrong address. -- Forwarded message -- From: Priyank Dwivedi <dpriyan...@gmail.com> Date: 17 June 2016 at 14:50 Subject: Matrix Constraints in R Optim To: r-help-ow...@r-project.org Hi, Below is the code snippet I wrote in R: The basi