Re: [R] Optimisation does not optimise!

2013-07-15 Thread Stephen Clark
f J C Nash (U30A) [mailto:nas...@uottawa.ca] Sent: 13 July 2013 13:07 To: r-help@r-project.org; Stephen Clark Subject: [R] Optimisation does not optimise! Considering that I devised the code initially on a computer with only 8K bytes for program and data, and it appears that your problem has 10

[R] Optimisation does not optimise!

2013-07-13 Thread Prof J C Nash (U30A)
AM, r-help-requ...@r-project.org wrote: Date: Fri, 12 Jul 2013 21:22:00 +0100 From: Stephen Clark To:"r-help@R-project.org" Subject: [R] Optimisation does not optimise! Message-ID: <928c4f7877280844b906d12d63a3f15b01145e5b5...@hermes8.ds.leeds.ac.uk> Content-Type: tex

[R] Optimisation does not optimise!

2013-07-12 Thread Stephen Clark
Hello, I have the following code and data. I am basically trying to select individuals in a sample (by setting some weights) to match known counts for a zone. This is been done by matching gender and age bands. I have tested the function to be optimised and it does behave as I would expect whe