Re: [R] simplex

2013-11-13 Thread arun
Hi Sven, May be this helps: If you look into ?simplex.object " solved This indicates whether the problem was solved.  A value of   ‘-1’ indicates that no feasible solution could be found.  A   value of ‘0’ that the maximum number of iterations was   reached without ter

Re: [R] Simplex Density Plots

2009-12-07 Thread Duncan Murdoch
On 07/12/2009 11:12 PM, Graham Neubig wrote: Hello, I have just started using R, and have found it quite easy to make plots of probability densities for normal and beta distributions, etc. Now, I'm looking at trying to make a simplex plot of a Dirichlet density, but have gotten stuck and was ho

[R] Simplex Density Plots

2009-12-07 Thread Graham Neubig
Hello, I have just started using R, and have found it quite easy to make plots of probability densities for normal and beta distributions, etc. Now, I'm looking at trying to make a simplex plot of a Dirichlet density, but have gotten stuck and was hoping that someone could help. Ideally, the plot

Re: [R] Simplex function in R

2008-12-11 Thread Gerard M. Keogh
"r-help@r-project.org" Subject 11/12/2008 12

Re: [R] Simplex function in R

2008-12-11 Thread Gabor Grothendieck
Try the pseudo inverse: m <- rbind(c(1, 1, 1), c(1, 0, 1), c(0, 1, 0)) b <- c(5, 2, 3) library(MASS) ginv(m) %*% b On Thu, Dec 11, 2008 at 2:20 AM, Chris Line <[EMAIL PROTECTED]> wrote: > I have a set of linear equations and would like to find any feasible > solution. A simplex solution works

Re: [R] Simplex function in R

2008-12-11 Thread axionator
Hi, in the first example, your feasible set is just one point (the one that fulfills the 3 equations) and thus there is only this one point which can maximize the objective function. In the second case, the feasible set is a line. But the simplex algorithm tries to find an optimizing value of the o

[R] Simplex function in R

2008-12-10 Thread Chris Line
I have a set of linear equations and would like to find any feasible solution. A simplex solution works in Case 1 below, but not in Case 2. I would be grateful for any help. Case 1: Find any feasible solution for the set of linear equations: a + b + c = 5 a + b + 0c = 4 0a +

Re: [R] simplex projection and S-Map

2007-11-30 Thread Ben Bolker
gutierrez.m05 wrote: > > I am interested in using the nonlinear forecasting techniques developed > by Sugihara et al. In particular the simplex projection and the S-Map > (see this website for details and reprints: http://iod.ucsd.edu/simplex/ > ). > I've looked through CRAN but could not fin

[R] simplex projection and S-Map

2007-11-30 Thread gutierrez.m05
I am interested in using the nonlinear forecasting techniques developed by Sugihara et al. In particular the simplex projection and the S-Map (see this website for details and reprints: http://iod.ucsd.edu/simplex/ ). I've looked through CRAN but could not find any package with functions that al