[Rd] simplex problem (PR#2317)

george@lecompte.org george@lecompte.org
Fri, 22 Nov 2002 06:33:41 +0100 (MET)


Full_Name: George F. LeCompte
Version: 1.6.1
OS: Windows 98
Submission from: (NULL) (208.8.162.161)


This may be a newbie problem.  I am attempting tor unt the simplex routine from
the boot package.  The example code doesn't find simplex.  What's wrong here?

> help(simplex,package=boot)
> # from the resulting article
> 
>      #  This example is taken from Exercise 7.5 of Gill, Murray, 
>      #  and Wright (1991).
>      enj <- c(200, 6000, 3000, -200)
>      fat <- c(800, 6000, 1000, 400)
>      vitx <- c(50, 3, 150, 100)
>      vity <- c(10, 10, 75, 100)
>      vitz <- c(150, 35, 75, 5)
>      simplex(a=enj, A1=fat, b1=13800, A2=rbind(vitx, vity, vitz), 
+              b2=c(600, 300, 550), maxi=TRUE)
Error: couldn't find function "simplex"
>