From ligges at statistik.uni-dortmund.de  Fri Nov  5 13:59:46 2004
From: ligges at statistik.uni-dortmund.de (ligges@statistik.uni-dortmund.de)
Date: Fri Nov  5 13:59:49 2004
Subject: [Rd] Code/doc inconsistancy in constrOptim (PR#7346)
Message-ID: <20041105125946.CAC8910FAA@slim.kubism.ku.dk>

Code in constrOptim() (R-2.0.0, package stats):

     if (any(ui %*% theta - ci <= 0))
         stop("initial value not feasible")

but the help page tells us in Section "Details":

"The feasible region is defined by ui %*% theta - ci >= 0."


Uwe Ligges





--please do not edit the information below--

Version:
  platform = i386-pc-mingw32
  arch = i386
  os = mingw32
  system = i386, mingw32
  status =
  major = 2
  minor = 0.0
  year = 2004
  month = 10
  day = 04
  language = R

Windows NT 4.0 (build 1381) Service Pack 6

Search Path:
  .GlobalEnv, package:methods, package:stats, package:graphics, 
package:grDevices, package:datasets, package:utils, package:fortunes, 
Autoloads, package:base


[Rd] Code/doc inconsistancy in constrOptim (PR#7346)
ligges@statistik.uni-dortmund.de