Displaying 3 results from an estimated 3 matches for "biomathjdaily".
2011 May 27
1
FW: Unable to Plot using headers.
...-
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of stephen's mailinglist account
Sent: Friday, May 27, 2011 12:39 PM
To: Jonathan Daily
Cc: R-help at r-project.org
Subject: Re: [R] Unable to Plot using headers.
On 27 May 2011 20:25, Jonathan Daily <biomathjdaily at gmail.com> wrote:
> I would caution against using attach(), however, if you are not in an
> interactive session. In functions and scripts, errors can often cause
> the interpreter to exit before the detach(), leaving your data on the
> search path. 99% of all attach/detach cases c...
2011 May 27
1
FW: FW: Unable to Plot using headers (converting to Numeric)
...t.org
[mailto:r-help-bounces at r-project.org]
> On Behalf Of stephen's mailinglist account
> Sent: Friday, May 27, 2011 12:39 PM
> To: Jonathan Daily
> Cc: R-help at r-project.org
> Subject: Re: [R] Unable to Plot using headers.
>
> On 27 May 2011 20:25, Jonathan Daily <biomathjdaily at gmail.com> wrote:
>> I would caution against using attach(), however, if you are not in an
>> interactive session. In functions and scripts, errors can often cause
>> the interpreter to exit before the detach(), leaving your data on the
>> search path. 99% of all attac...
2011 May 19
3
problem with optim()
Dear R-users,
I would like to maximize the function g above which depends on 4 parameters (2 vectors, 1 real number, and 1 matrix) using optim() and BFGS method. Here is my code:
# fonction to maximize
g=function(x)
{
x1 = x[1:ncol(X)]
x2 = x[(ncol(X)+1)]
x3 = matrix(x[(ncol(X)+2):(ncol(X)+1+ncol(X)*ncol(Y))],nrow=ncol(X),ncol=ncol(Y))
x4 = x[(ncol(X)+1+ncol(X)*ncol(Y)+1):length(x)]