[Rd] Code/doc inconsistancy in constrOptim (PR#7346)

From: <ligges_at_statistik.uni-dortmund.de>
Date: Fri 05 Nov 2004 - 23:59:46 EST


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



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Nov 06 00:06:36 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:01:07 EST