[R] Constrained Optimization

2011-06-16 Thread Animesh
I am trying to optimize a simple function, but I want to optimize it for values of k between 0 and 1. I read the help file for constrOptim function but it is always giving me the error > constrOptim((0.4),simulation,NULL,ui=rbind(c(0,0),c(1,1))) "Error in ui %*% theta : non-conformable arguments

[R] Sobol Sequences - Convergence Issues

2011-05-27 Thread Animesh Saxena
e notation is clear. If this direction number had been chosen (as mentioned above) then sobol sequence creates a problem. Can this be modified? I want to specify my own direction numbers. I checked the code, and found that it points to a fortran code file. Any suggestions? -- Animesh Saxena

Re: [R] foreach: how to create array (of lists) as result?

2011-05-20 Thread Animesh Saxena
help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Regards, Animesh Saxena (www.quantanaly

[R] Spline Function

2011-05-20 Thread Animesh Saxena
ke > as.numeric(modelprices[2]) Error: (list) object cannot be coerced to type 'double' Thanks in advance!-- Regards, Animesh Saxena (www.quantanalysis.in) __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-

[R] Canonical Correlation Analysis

2007-11-20 Thread Animesh Acharjee
Dear Sir/Madam, This is Animesh working on Canonical Correlation Analysis ( CCA ) and I am using CCA package in R. I have a doubt and it may be very basic question. Hope someone will get back to me with answer. I am trying to follow the documentation of CCA but could