Hi !
Why not constrOptim ?
Dwayne
2010/8/9 Gildas Mazo
> Dear R users,
>
> I'm looking for tools to perform optimization subject to constraints,
> both linear and non-linear. I don't mind which algorithm may be used, my
> primary aim is to get something general and easy-to-use to study simples
Thanks to all of you.
Dwayne
2010/8/9 David Winsemius
>
> On Aug 9, 2010, at 12:29 PM, Joshua Wiley wrote:
>
> On Mon, Aug 9, 2010 at 9:26 AM, David Winsemius
>> wrote:
>>
>>>
>>> On Aug 9, 2010, at 12:14 PM, Joshua Wiley wrote:
>>>
>>&
Dear R users,
I have a basic question. In an "if statement", when several expressions have
to be evaluated, they must be put inside curly braces, right ?
For example :
if (x>2) {
y=3
z=2
}
Thank you very much,
Dwayne
[[alternative HTML version deleted]]
.org
> 801.408.8111
>
>
> > -Original Message-
> > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> > project.org] On Behalf Of Duncan Murdoch
> > Sent: Thursday, April 15, 2010 7:29 AM
> > To: Dwayne Blind
> > Cc: r-help@r-project.org
Dear R users,
How can I use "curve" with a function of two variables ?
Thank you very much,
Dwayne
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the postin
7;s not as scary as it used to be.
> > For Windows I recommend
> > http://vgoulet.act.ulaval.ca/en/ressources/emacs/
> >
> > -Ista
> >
> > On Fri, Feb 26, 2010 at 11:10 AM, Dwayne Blind
> wrote:
> > > Dear all,
> > >
> > > Do you use a t
Dear all,
Do you use a text editor ? What would you recommend for Windows users ? What
about Tinn-R ?
Thank you very much,
Dwayne
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r
Thank you very much Jorge, Phil and Stas.
It is not the first time Phil ;-)
2009/4/15 Stas Kolenikov
> You need a full name in quotes:
>
> auto <- read.dta("C:/Stata10/ado/base/a/auto.dta")
>
> works just fine on my computer.
>
> On 4/14/09, Dwayne Blind wrot
Dear R users,
I am trying to import a table from STATA, a dta file.
With a table called "table", this is what I do :
library("foreign")
read.dta(table)
It does not work. What am I doing wrong ?
Best Regards,
Dwayne
[[alternative HTML version deleted]]
Thanks a lot.
You were right :-)
Professor Ripley can I use your SPLUS book for R too ?
2008/3/12, Prof Brian Ripley <[EMAIL PROTECTED]>:
>
> On Wed, 12 Mar 2008, Dwayne Blind wrote:
>
>
> > Dear R users,
> >
> > I wrote the following toy example to ex
Dear R users,
I wrote the following toy example to explain my problem :
a=0
f=function(x,y,z) {
if (a==0) x[1]+x[2]+y
if (a!=0) x[1]+x[2]+y+z
}
f(1:2,3)
I have not specified z and I get an error. Although a=0, R seems to want to
know z because it's in the expression x[1]+x[2]+y+z.
So I
11 matches
Mail list logo