Re: [R] Optim stripping attributes from relistable objects

2008-08-18 Thread Prof Brian Ripley
On Mon, 18 Aug 2008, Katharine Mullen wrote: The following code is inspired by the help file for the relist() function (see?relist), which explicitly details how you can use a The example is in the 'Details' section and, indeed, it looks like it no longer works. I don't think it ever did

Re: [R] Optim stripping attributes from relistable objects

2008-08-18 Thread Prof Brian Ripley
On Mon, 18 Aug 2008, [EMAIL PROTECTED] wrote: Ok - there is an easy work-around by just to passing the skeleton to the objective function. But would it be possible to clarify this point in the relist() help file please (specificaly the example I would think), implies that attributes are copied

[R] Optim stripping attributes from relistable objects

2008-08-17 Thread rhelp . 20 . trevva
Dear all, The following code is inspired by the help file for the relist() function (see?relist), which explicitly details how you can use a relistable object in conjunction with optim to pass and reconstruct complex parameter structures/groupings. The idea is that the optim() function can only

Re: [R] Optim stripping attributes from relistable objects

2008-08-17 Thread Katharine Mullen
The following code is inspired by the help file for the relist() function (see?relist), which explicitly details how you can use a The example is in the 'Details' section and, indeed, it looks like it no longer works. relistable object in conjunction with optim to pass and reconstruct